summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/completion/contacts.py5
-rw-r--r--alot/completion/tags.py5
2 files changed, 2 insertions, 8 deletions
diff --git a/alot/completion/contacts.py b/alot/completion/contacts.py
index 55304081..1de7ea25 100644
--- a/alot/completion/contacts.py
+++ b/alot/completion/contacts.py
@@ -17,7 +17,4 @@ class ContactsCompleter(MultipleSelectionCompleter):
contact
:type addressesonly: bool
"""
- self._completer = AbooksCompleter(abooks, addressesonly=addressesonly)
- self._separator = ', '
-
- super().__init__()
+ super().__init__(AbooksCompleter(abooks, addressesonly = addressesonly))
diff --git a/alot/completion/tags.py b/alot/completion/tags.py
index 38b0a0cd..17df26de 100644
--- a/alot/completion/tags.py
+++ b/alot/completion/tags.py
@@ -14,7 +14,4 @@ class TagsCompleter(MultipleSelectionCompleter):
:param dbman: used to look up available tagstrings
:type dbman: :class:`~alot.db.DBManager`
"""
- self._completer = TagCompleter(dbman)
- self._separator = ','
-
- super().__init__()
+ super().__init__(TagCompleter(dbman), ",")