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 ()
|
item = item.strip ()
|
||||||
if item and item[0] != '#':
|
if item and item[0] != '#':
|
||||||
(key, value) = item.split ("=")
|
(key, value) = item.split ("=")
|
||||||
if value == 'True':
|
if value.lower () == 'true':
|
||||||
self.values[key] = True
|
self.values[key] = True
|
||||||
elif value == 'False':
|
elif value.lower () == 'false':
|
||||||
self.values[key] = False
|
self.values[key] = False
|
||||||
else:
|
else:
|
||||||
self.values[key] = value
|
self.values[key] = value
|
||||||
|
|
Loading…
Reference in New Issue