From 6e13b8b73572f9c0ac9b5c683b98a475afbeab38 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 15 Aug 2018 13:13:17 +0200 Subject: yapf -rip on plugins --- plugins/iq_show.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/iq_show.py') 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') -- cgit v1.2.3