summaryrefslogtreecommitdiff
path: root/alot/addressbook
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@mister-muffin.de>2016-01-31 14:42:21 +0100
committerJohannes 'josch' Schauer <josch@mister-muffin.de>2016-01-31 14:44:58 +0100
commitbfa71bcd42a8f1a9018aa8c89266ccc574d11f57 (patch)
treecefe7c1a75806e611d07cc7b1934cf629a5f95cf /alot/addressbook
parent78196db2e676a5ba3e934ef1e11cb392194b6351 (diff)
alot/addressbook/abook.py: fix DEFAULTSPATH to account for code movement in commit 2f064af
Diffstat (limited to 'alot/addressbook')
-rw-r--r--alot/addressbook/abook.py2
1 files changed, 1 insertions, 1 deletions
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)