summaryrefslogtreecommitdiff
path: root/alot/init.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-08-01 09:05:07 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-08-01 09:05:07 +0100
commitf050a250526dfc38336150518819aa2d7bfadd72 (patch)
tree697eb35343f7b9eb7e24a1272e246bd1fec14be2 /alot/init.py
parent0cc29f4b48dc8f128d0cdf9d3ff4e328a8dfc454 (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/init.py')
-rwxr-xr-xalot/init.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/alot/init.py b/alot/init.py
index ced647eb..aaa2f22c 100755
--- a/alot/init.py
+++ b/alot/init.py
@@ -152,10 +152,6 @@ def main():
break # use only the first
try:
- if not alotconfig:
- alotconfig = configfiles[0]
- settings.write_default_config(alotconfig)
-
settings.read_config(alotconfig)
settings.read_notmuch_config(notmuchconfig)
except (ConfigError, OSError, IOError), e: