Fix bug in parseOptions with values
parent
bd1c6a5be6
commit
3e2c4de833
4
morss.py
4
morss.py
|
@ -119,9 +119,9 @@ class ParseOptions:
|
|||
if len(split) > 1:
|
||||
if split[0].lower() == 'true':
|
||||
self.options[split[0]] = True
|
||||
if split[0].lower() == 'false':
|
||||
elif split[0].lower() == 'false':
|
||||
self.options[split[0]] = False
|
||||
|
||||
else:
|
||||
self.options[split[0]] = split[1]
|
||||
else:
|
||||
self.options[split[0]] = True
|
||||
|
|
Loading…
Reference in New Issue