diff --git a/pantalaimon/panctl.py b/pantalaimon/panctl.py index b837ba9..4ebbbb6 100644 --- a/pantalaimon/panctl.py +++ b/pantalaimon/panctl.py @@ -132,11 +132,11 @@ class PanCompleter(Completer): return compl_words def complete_pan_users(self, last_word): - users = self.ctl.ListUsers() - compl_words = self.filter_words([i[0] for i in users], last_word) + users = self.ctl.ListUsers() + compl_words = self.filter_words([i[0] for i in users], last_word) - for compl_word in compl_words: - yield Completion(compl_word, -len(last_word)) + for compl_word in compl_words: + yield Completion(compl_word, -len(last_word)) def complete_verification(self, command, last_word, words): if len(words) == 2: diff --git a/pantalaimon/ui.py b/pantalaimon/ui.py index 77a78b4..dbeb2f1 100644 --- a/pantalaimon/ui.py +++ b/pantalaimon/ui.py @@ -16,7 +16,6 @@ from pantalaimon.thread_messages import ( DeviceConfirmSasMessage, ImportKeysMessage, ExportKeysMessage, - StartSasSignal, ShowSasSignal, InviteSasSignal, SasDoneSignal,