diff options
Diffstat (limited to 'alot/__main__.py')
-rw-r--r-- | alot/__main__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/__main__.py b/alot/__main__.py index c74e5d6f..d9c69149 100644 --- a/alot/__main__.py +++ b/alot/__main__.py @@ -123,9 +123,9 @@ def main(): loop = asyncio.get_event_loop() # get ourselves a database manager - indexpath = settings.get_notmuch_setting('database', 'path') - indexpath = options.mailindex_path or indexpath - dbman = DBManager(loop, path=indexpath, ro=options.read_only) + db_path = options.mailindex_path or None + dbman = DBManager(loop = loop, ro = options.read_only, + db_path = db_path) # determine what to do if command is None: |