Commit 0ba31f87 authored by mathieui's avatar mathieui

Fix pylint errors

- wrong command path
- pylint bug regarding slots
parent 9c6f7246
......@@ -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
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment