diff options
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() |