Fix bug in parseOptions with values

master
pictuga 2014-01-08 01:48:39 +01:00
parent bd1c6a5be6
commit 3e2c4de833
1 changed files with 3 additions and 3 deletions

View File

@ -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