commit 7db106beb3143bcfb50e021e938ed3cab7ea011a
parent 2f3a45e6c9e3fbfd048218b18035a83483c821de
Author: nolash <dev@holbrook.no>
Date: Sat, 4 Dec 2021 12:37:27 +0100
Bumpversion
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/confini/config.py b/confini/config.py
@@ -307,6 +307,8 @@ class Config:
logg.debug('entry {} is already bool'.format(k))
return v
d = self._decrypt(k, v, self.src_dirs.get(k))
+ if d == None:
+ return False
if d.lower() not in ['true', 'false', '0', '1', 'on', 'off']:
raise ValueError('{} not a boolean value'.format(k))
return d.lower() in ['true', '1', 'on']
diff --git a/setup.py b/setup.py
@@ -6,7 +6,7 @@ f.close()
setup(
name='confini',
- version='0.5.2',
+ version='0.5.3',
description='Parse, verify and merge all ini files in a single directory',
author='Louis Holbrook',
author_email='dev@holbrook.no',