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/embed.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'plugins/embed.py') diff --git a/plugins/embed.py b/plugins/embed.py index 717fc3c5..726b1eb2 100644 --- a/plugins/embed.py +++ b/plugins/embed.py @@ -17,13 +17,16 @@ from poezio import tabs from poezio.plugin import BasePlugin from poezio.theming import get_theme -class Plugin(BasePlugin): +class Plugin(BasePlugin): def init(self): for tab_t in [tabs.MucTab, tabs.ConversationTab, tabs.PrivateTab]: - self.api.add_tab_command(tab_t, 'embed', self.embed_image_url, - help='Embed an image url into the contact\'s client', - usage='') + self.api.add_tab_command( + tab_t, + 'embed', + self.embed_image_url, + help='Embed an image url into the contact\'s client', + usage='') def embed_image_url(self, args): tab = self.api.current_tab() -- cgit v1.2.3