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/amsg.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'plugins/amsg.py') diff --git a/plugins/amsg.py b/plugins/amsg.py index eea6a0c3..b8ac4e26 100644 --- a/plugins/amsg.py +++ b/plugins/amsg.py @@ -19,12 +19,15 @@ Command from poezio.plugin import BasePlugin from poezio.tabs import MucTab + class Plugin(BasePlugin): def init(self): - self.api.add_command('amsg', self.command_amsg, - usage='', - short='Broadcast a message', - help='Broadcast the message to all the joined rooms.') + self.api.add_command( + 'amsg', + self.command_amsg, + usage='', + short='Broadcast a message', + help='Broadcast the message to all the joined rooms.') def command_amsg(self, args): for room in self.core.tabs: -- cgit v1.2.3