slightly relax the boolean value support
This commit is contained in:
parent
12e7622c65
commit
69867b936f
|
@ -144,9 +144,9 @@ class TerminatorConfValuestoreRC (TerminatorConfValuestore):
|
|||
item = item.strip ()
|
||||
if item and item[0] != '#':
|
||||
(key, value) = item.split ("=")
|
||||
if value == 'True':
|
||||
if value.lower () == 'true':
|
||||
self.values[key] = True
|
||||
elif value == 'False':
|
||||
elif value.lower () == 'false':
|
||||
self.values[key] = False
|
||||
else:
|
||||
self.values[key] = value
|
||||
|
|
Loading…
Reference in New Issue