summaryrefslogtreecommitdiff
path: root/alot/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'alot/addressbook')
-rw-r--r--alot/addressbook/abook.py2
-rw-r--r--alot/addressbook/external.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/alot/addressbook/abook.py b/alot/addressbook/abook.py
index 6e2aa756..705a646d 100644
--- a/alot/addressbook/abook.py
+++ b/alot/addressbook/abook.py
@@ -13,7 +13,7 @@ class AbookAddressBook(AddressBook):
:param path: path to abook addressbook file
:type path: str
"""
- AddressBook.__init__(self, **kwargs)
+ super().__init__(**kwargs)
DEFAULTSPATH = os.path.join(os.path.dirname(__file__), '..',
'defaults')
self._spec = os.path.join(DEFAULTSPATH, 'abook_contacts.spec')
diff --git a/alot/addressbook/external.py b/alot/addressbook/external.py
index eea70cbc..cd300a42 100644
--- a/alot/addressbook/external.py
+++ b/alot/addressbook/external.py
@@ -34,7 +34,7 @@ class ExternalAddressbook(AddressBook):
according to the search string.
:type external_filtering: bool
"""
- AddressBook.__init__(self, **kwargs)
+ super().__init__(**kwargs)
self.commandline = commandline
self.regex = regex
self.reflags = reflags