summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/tabs/rostertab.py2
-rw-r--r--poezio/windows/inputs.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/poezio/tabs/rostertab.py b/poezio/tabs/rostertab.py
index a5ce268b..8c80a652 100644
--- a/poezio/tabs/rostertab.py
+++ b/poezio/tabs/rostertab.py
@@ -914,7 +914,7 @@ class RosterInfoTab(Tab):
log.error('Unable to correct a message', exc_info=True)
return
for jid in lines:
- self.command.command_add(jid.lstrip('\n'))
+ self.core.command.command_add(jid.lstrip('\n'))
self.core.information('Contacts imported from %s' % filepath, 'Info')
@deny_anonymous
diff --git a/poezio/windows/inputs.py b/poezio/windows/inputs.py
index c0c73419..84b95599 100644
--- a/poezio/windows/inputs.py
+++ b/poezio/windows/inputs.py
@@ -601,6 +601,7 @@ class HistoryInput(Input):
self.key_func['^R'] = self.toggle_search
self.search = False
if config.get('separate_history'):
+ # pylint: disable=assigning-non-slot
self.history = [] # type: List[str]
def toggle_search(self) -> None: