diff options
author | mathieui <mathieui@mathieui.net> | 2018-08-15 13:13:17 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-08-15 13:13:17 +0200 |
commit | 6e13b8b73572f9c0ac9b5c683b98a475afbeab38 (patch) | |
tree | 7dae86588339a8cf144b2d98c9280f28646341a9 /plugins/iq_show.py | |
parent | d1b624753bb5371cf287cc9d86bb685593a99315 (diff) | |
download | poezio-6e13b8b73572f9c0ac9b5c683b98a475afbeab38.tar.gz poezio-6e13b8b73572f9c0ac9b5c683b98a475afbeab38.tar.bz2 poezio-6e13b8b73572f9c0ac9b5c683b98a475afbeab38.tar.xz poezio-6e13b8b73572f9c0ac9b5c683b98a475afbeab38.zip |
yapf -rip on plugins
Diffstat (limited to 'plugins/iq_show.py')
-rw-r--r-- | plugins/iq_show.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/iq_show.py b/plugins/iq_show.py index 7e77a897..ad8f9e77 100644 --- a/plugins/iq_show.py +++ b/plugins/iq_show.py @@ -6,9 +6,11 @@ from poezio.plugin import BasePlugin from slixmpp.xmlstream.matcher import StanzaPath from slixmpp.xmlstream.handler import Callback + class Plugin(BasePlugin): def init(self): - self.core.xmpp.register_handler(Callback('Iq_show', StanzaPath('iq'), self.handle_iq)) + self.core.xmpp.register_handler( + Callback('Iq_show', StanzaPath('iq'), self.handle_iq)) def handle_iq(self, iq): self.api.information('%s' % iq, 'Iq') |