diff options
author | mathieui <mathieui@mathieui.net> | 2018-01-13 15:33:19 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-01-13 15:33:19 +0100 |
commit | 12ede4d3019a611b3b58d245d65c52bc01f37046 (patch) | |
tree | c723738a7d266fdabea15b1ebcd17fec7cb648f1 /poezio/core/commands.py | |
parent | 6fe2f208337db898d370d7a2374b416d998b5b5f (diff) | |
download | poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.gz poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.bz2 poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.xz poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.zip |
yapf -ir
Diffstat (limited to 'poezio/core/commands.py')
-rw-r--r-- | poezio/core/commands.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py index 91d98030..a6d8bcbb 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -407,7 +407,8 @@ class CommandCore: tab.join() if config.get('bookmark_on_join'): - method = 'remote' if config.get('use_remote_bookmarks') else 'local' + method = 'remote' if config.get( + 'use_remote_bookmarks') else 'local' self._add_bookmark('%s/%s' % (room, nick), True, password, method) if tab == self.core.current_tab(): @@ -912,8 +913,8 @@ class CommandCore: self.core.xmpp.remove_handler('Iq %s' % iq_id) self.core.xmpp.register_handler( - Callback('Iq %s' % iq_id, - StanzaPath('iq@id=%s' % iq_id), iqfunc)) + Callback('Iq %s' % iq_id, StanzaPath('iq@id=%s' % iq_id), + iqfunc)) stanza.send() except: self.core.information('Could not send custom stanza', 'Error') |