summaryrefslogtreecommitdiff
path: root/alot/init.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-02-18 16:59:43 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-02-18 17:10:46 +0000
commitcf1d24bee09b20a61321aa70b6169a56d2abf8db (patch)
tree8ae1a99d5a42b927dbc4f054c01f1ad31872248e /alot/init.py
parente74f168009434d70b68395c3cfd98d34851dfede (diff)
replace config.get_* with settings.get
this changes all "small" calls to a config getter toa theyr counterparts that call SettingsManager.get
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)