diff options
Diffstat (limited to 'src/configgen.py')
-rwxr-xr-x | src/configgen.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/configgen.py b/src/configgen.py index 2b06d9e..d02eafd 100755 --- a/src/configgen.py +++ b/src/configgen.py @@ -34,8 +34,10 @@ def parseOption(node): if type=='bool': if len(adefval)>0: enabled = adefval + elif defval=='1': + enabled = "TRUE" else: - enabled = "TRUE" if defval=='1' else "FALSE" + enabled = "FALSE" print " cb = cfg->addBool(" print " \"%s\"," % (name) print " \"%s\"," % (docC) |