From 69867b936fb3dbef358f05a57ed6e5b58d098453 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 23 May 2008 11:40:56 +0100 Subject: [PATCH] slightly relax the boolean value support --- terminatorlib/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminatorlib/config.py b/terminatorlib/config.py index 9917896c..063739bb 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -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