summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-10-02 13:21:12 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-10-02 13:21:12 +0100
commit5b32229ae74ccc3ce3331a11ef0885b441afcea9 (patch)
tree49db370e54179e41812f9a4b488fd14a863ff7d9 /alot
parent77cc67db471301619873bf3b3daa9151d2d7d2fa (diff)
make sure only one config file is used
Diffstat (limited to 'alot')
-rwxr-xr-xalot/init.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/init.py b/alot/init.py
index 1301763a..1e347171 100755
--- a/alot/init.py
+++ b/alot/init.py
@@ -77,6 +77,7 @@ def main():
for configfilename in configfiles:
if os.path.exists(configfilename):
settings.config.read(configfilename)
+ break # use only the first
notmuchfile = os.path.expanduser(args.notmuchconfigfile)
settings.notmuchconfig.read(notmuchfile)