diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-08-01 09:05:07 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-08-01 09:05:07 +0100 |
commit | f050a250526dfc38336150518819aa2d7bfadd72 (patch) | |
tree | 697eb35343f7b9eb7e24a1272e246bd1fec14be2 /alot/settings/utils.py | |
parent | 0cc29f4b48dc8f128d0cdf9d3ff4e328a8dfc454 (diff) |
do not write default config if missing
This has been done before to provide the default bindings,
which are now read directly from defautls/default.bindings
during startup.
Diffstat (limited to 'alot/settings/utils.py')
-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 f6912f98..6b5f77cb 100644 --- a/alot/settings/utils.py +++ b/alot/settings/utils.py @@ -25,7 +25,7 @@ def read_config(configpath=None, specpath=None, checks={}): config = ConfigObj(infile=configpath, configspec=specpath, file_error=True, encoding='UTF8') except (ConfigObjError, IOError): - raise ConfigError('Couls not read %s' % configpath) + raise ConfigError('Could not read %s' % configpath) except UnboundLocalError: # this works around a bug in configobj msg = '%s is malformed. Check for sections without parents..' |