diff options
Diffstat (limited to 'alot/settings')
-rw-r--r-- | alot/settings/manager.py | 2 | ||||
-rw-r--r-- | alot/settings/utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py index 6f9273c2..6c9e80fe 100644 --- a/alot/settings/manager.py +++ b/alot/settings/manager.py @@ -123,7 +123,7 @@ class SettingsManager(object): except ConfigError as e: logging.warning( 'Theme file %s failed validation: %s', - themestring, str(e.message)) + themestring, e) else: break else: diff --git a/alot/settings/utils.py b/alot/settings/utils.py index 23278607..ea56b264 100644 --- a/alot/settings/utils.py +++ b/alot/settings/utils.py @@ -44,7 +44,7 @@ def read_config(configpath=None, specpath=None, checks=None): try: results = config.validate(validator, preserve_errors=True) except ConfigObjError as e: - raise ConfigError(e.message) + raise ConfigError(str(e)) if results is not True: error_msg = '' |