diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-18 16:59:43 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-18 17:10:46 +0000 |
commit | cf1d24bee09b20a61321aa70b6169a56d2abf8db (patch) | |
tree | 8ae1a99d5a42b927dbc4f054c01f1ad31872248e /alot/init.py | |
parent | e74f168009434d70b68395c3cfd98d34851dfede (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-x | alot/init.py | 3 |
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) |