summaryrefslogtreecommitdiff
path: root/plugins/close_all.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/close_all.py')
-rw-r--r--plugins/close_all.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/close_all.py b/plugins/close_all.py
index faf1d0ea..c1d1ec8b 100644
--- a/plugins/close_all.py
+++ b/plugins/close_all.py
@@ -18,8 +18,10 @@ from poezio.decorators import command_args_parser
class Plugin(BasePlugin):
def init(self):
- self.api.add_command('closeall', self.command_closeall,
- help='Close all non-chatroom tabs.')
+ self.api.add_command(
+ 'closeall',
+ self.command_closeall,
+ help='Close all non-chatroom tabs.')
@command_args_parser.ignored
def command_closeall(self):
@@ -40,5 +42,3 @@ class Plugin(BasePlugin):
self.core.close_tab(tab)
self.api.information('%s tabs closed.' % length, 'Info')
self.core.refresh_window()
-
-