diff options
-rwxr-xr-x | alot/init.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alot/init.py b/alot/init.py index af6cf1b1..45ae1590 100755 --- a/alot/init.py +++ b/alot/init.py @@ -163,7 +163,9 @@ def main(): settings.set('colourmode', args['colour-mode']) # get ourselves a database manager - dbman = DBManager(path=args['mailindex-path'], ro=args['read-only']) + indexpath = settings.get_notmuch_setting('database', 'path') + indexpath = args['mailindex-path'] or indexpath + dbman = DBManager(path=indexpath, ro=args['read-only']) # determine what to do try: |