slightly relax the boolean value support

This commit is contained in:
Chris Jones 2008-05-23 11:40:56 +01:00
parent 12e7622c65
commit 69867b936f
1 changed files with 2 additions and 2 deletions

View File

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