From bfa71bcd42a8f1a9018aa8c89266ccc574d11f57 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 31 Jan 2016 14:42:21 +0100 Subject: alot/addressbook/abook.py: fix DEFAULTSPATH to account for code movement in commit 2f064af --- alot/addressbook/abook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alot/addressbook/abook.py b/alot/addressbook/abook.py index c71f485c..ec706eb3 100644 --- a/alot/addressbook/abook.py +++ b/alot/addressbook/abook.py @@ -15,7 +15,7 @@ class AbookAddressBook(AddressBook): :type path: str """ AddressBook.__init__(self, **kwargs) - DEFAULTSPATH = os.path.join(os.path.dirname(__file__), 'defaults') + DEFAULTSPATH = os.path.join(os.path.dirname(__file__), '..', 'defaults') self._spec = os.path.join(DEFAULTSPATH, 'abook_contacts.spec') path = os.path.expanduser(path) self._config = read_config(path, self._spec) -- cgit v1.2.3