diff options
Diffstat (limited to 'fg21sim/configs/manager.py')
-rw-r--r-- | fg21sim/configs/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/configs/manager.py b/fg21sim/configs/manager.py index 18b9024..662c93d 100644 --- a/fg21sim/configs/manager.py +++ b/fg21sim/configs/manager.py @@ -71,7 +71,7 @@ class ConfigManager: results = config.validate(validator, preserve_errors=True) except ConfigObjError as e: raise ConfigError(e.message) - if not results: + if results is not True: error_msg = "" for (section_list, key, res) in flatten_errors(config, results): if key is not None: |