Fix bug in parseOptions with values
parent
bd1c6a5be6
commit
3e2c4de833
6
morss.py
6
morss.py
|
@ -119,10 +119,10 @@ 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
|
||||
|
||||
self.options[split[0]] = split[1]
|
||||
else:
|
||||
self.options[split[0]] = split[1]
|
||||
else:
|
||||
self.options[split[0]] = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue