Fix pylint error

This commit is contained in:
Philipp Hörist 2019-01-05 20:17:20 +01:00
parent 4aa265451d
commit 4c17b55a91
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ class GroupchatControl(ChatControlBase):
def update_actions(self): def update_actions(self):
if self.parent_win is None: if self.parent_win is None:
return return
win = self.parent_win.window
contact = app.contacts.get_gc_contact( contact = app.contacts.get_gc_contact(
self.account, self.room_jid, self.nick) self.account, self.room_jid, self.nick)
con = app.connections[self.account] con = app.connections[self.account]