diff options
author | Johannes 'josch' Schauer <josch@mister-muffin.de> | 2016-01-31 14:40:07 +0100 |
---|---|---|
committer | Johannes 'josch' Schauer <josch@mister-muffin.de> | 2016-01-31 14:44:58 +0100 |
commit | 78196db2e676a5ba3e934ef1e11cb392194b6351 (patch) | |
tree | a7fb488ecaf4ba239f2bd81fa9546371aa12a4c2 /alot/settings | |
parent | 4e66f108a5eaedf83acbe2026d0ed74805195fcc (diff) |
alot/settings/utils.py: extend error message on IOError exception
Diffstat (limited to 'alot/settings')
-rw-r--r-- | alot/settings/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/settings/utils.py b/alot/settings/utils.py index f4cfecbc..b6984a7f 100644 --- a/alot/settings/utils.py +++ b/alot/settings/utils.py @@ -27,7 +27,7 @@ def read_config(configpath=None, specpath=None, checks={}): except ConfigObjError as e: raise ConfigError(e) except IOError: - raise ConfigError('Could not read %s' % configpath) + raise ConfigError('Could not read %s and/or %s' % (configpath, specpath)) except UnboundLocalError: # this works around a bug in configobj msg = '%s is malformed. Check for sections without parents..' |