diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-02-22 14:32:04 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | c030c2a7a310cb7ceb5c16c0d78b77973df7144f (patch) | |
tree | 47b681df1b6affbb876df6edca87fb032ac776bb /alot/settings | |
parent | 6b1a6be9c2ae10ff0278390e4238b22fb906377c (diff) |
settings/manager: fix manager
Diffstat (limited to 'alot/settings')
-rw-r--r-- | alot/settings/manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py index 6693bb1c..195f0ab0 100644 --- a/alot/settings/manager.py +++ b/alot/settings/manager.py @@ -38,9 +38,9 @@ class SettingsManager(object): :param notmuch_rc: path to notmuch's config file :type notmuch_rc: str """ - assert alot_rc is None or (isinstance(alot_rc, basestring) and + assert alot_rc is None or (isinstance(alot_rc, str) and os.path.exists(alot_rc)) - assert notmuch_rc is None or (isinstance(notmuch_rc, basestring) and + assert notmuch_rc is None or (isinstance(notmuch_rc, str) and os.path.exists(notmuch_rc)) self.hooks = None self._mailcaps = mailcap.getcaps() |