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/spam.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/spam.py') diff --git a/plugins/spam.py b/plugins/spam.py index ee1e57cd..de4fa7a2 100644 --- a/plugins/spam.py +++ b/plugins/spam.py @@ -13,6 +13,7 @@ Configuration from poezio.plugin import BasePlugin + class Plugin(BasePlugin): def init(self): self.api.add_event_handler('muc_say', self.advert) @@ -20,4 +21,5 @@ class Plugin(BasePlugin): self.api.add_event_handler('private_say', self.advert) def advert(self, msg, tab): - msg['body'] = "%s\n\n%s" % (msg['body'], self.config.get("ad", "Sent from poezio")) + msg['body'] = "%s\n\n%s" % (msg['body'], + self.config.get("ad", "Sent from poezio")) -- cgit v1.2.3