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/spam.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/spam.py')
-rw-r--r-- | plugins/spam.py | 4 |
1 files changed, 3 insertions, 1 deletions
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")) |