summaryrefslogtreecommitdiff
path: root/alot/init.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/init.py')
-rwxr-xr-xalot/init.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/init.py b/alot/init.py
index 064eaf2e..8f5665e3 100755
--- a/alot/init.py
+++ b/alot/init.py
@@ -128,12 +128,12 @@ def main():
logger = logging.getLogger()
#logger.debug(commands.COMMANDS)
- #accountman
- aman = AccountManager(settings.config)
-
# get ourselves a database manager
dbman = DBManager(path=args['mailindex-path'], ro=args['read-only'])
+ #accountman
+ aman = AccountManager(dbman, settings.config)
+
# get initial searchstring
try:
if args.subCommand == 'search':