summaryrefslogtreecommitdiff
path: root/alot/init.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/init.py')
-rwxr-xr-xalot/init.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/init.py b/alot/init.py
index 182e7e87..be54901c 100755
--- a/alot/init.py
+++ b/alot/init.py
@@ -132,7 +132,8 @@ def main():
if args['config']:
expanded_path = os.path.expanduser(args['config'])
if not os.path.exists(expanded_path):
- sys.exit('Explicitly given config file "%s" does not exist. Goodbye for now.' % expanded_path)
+ msg = 'Config file "%s" does not exist. Goodbye for now.'
+ sys.exit(msg % expanded_path)
configfiles.insert(0, expanded_path)
# locate notmuch config