From cf1d24bee09b20a61321aa70b6169a56d2abf8db Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Sat, 18 Feb 2012 16:59:43 +0000 Subject: replace config.get_* with settings.get this changes all "small" calls to a config getter toa theyr counterparts that call SettingsManager.get --- alot/init.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'alot/init.py') 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) -- cgit v1.2.3