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, 1 insertions, 2 deletions
diff --git a/alot/init.py b/alot/init.py
index e602595b..1be3666d 100755
--- a/alot/init.py
+++ b/alot/init.py
@@ -174,8 +174,7 @@ def main():
cmdstring = 'compose %s' % args.subOptions.as_argparse_opts()
cmd = commands.commandfactory(cmdstring, 'global')
else:
- default_commandline = settings.config.get('general',
- 'initial_command')
+ default_commandline = settings.settings.get('initial_command')
cmd = commands.commandfactory(default_commandline, 'global')
except CommandParseError, e:
sys.exit(e)