mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-21 19:41:15 +00:00
aedi: fix handling of argument value evaluated to false
This commit is contained in:
parent
81a99dd15f
commit
25cde9672e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class CommandLineOptions(dict):
|
|||
return ArgumentValue()
|
||||
|
||||
def __setitem__(self, key, value):
|
||||
return super().__setitem__(key, ArgumentValue(value))
|
||||
return super().__setitem__(key, ArgumentValue(value) if value else None)
|
||||
|
||||
def to_list(self, rules=MAKE_RULES) -> list:
|
||||
result = []
|
||||
|
|
Loading…
Reference in a new issue