summaryrefslogtreecommitdiff
path: root/poezio/tabs/basetabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-07-21 17:09:52 +0200
committermathieui <mathieui@mathieui.net>2018-07-21 17:09:52 +0200
commitea2d76864da2448152428a62fe5c7daaea6ab0d3 (patch)
tree7ac279bb9b1efbe6025a0435d4a121f11080fcb0 /poezio/tabs/basetabs.py
parent3ec153a6a01faca5445bb7c21e0d427bb5096320 (diff)
downloadpoezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.tar.gz
poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.tar.bz2
poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.tar.xz
poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.zip
yapf -rip
Diffstat (limited to 'poezio/tabs/basetabs.py')
-rw-r--r--poezio/tabs/basetabs.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index 2865f443..9ba8e6e5 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -293,8 +293,8 @@ class Tab:
if self.missing_command_callback is not None:
error_handled = self.missing_command_callback(low)
if not error_handled:
- self.core.information("Unknown command (%s)" %
- (command), 'Error')
+ self.core.information(
+ "Unknown command (%s)" % (command), 'Error')
if command in ('correct', 'say'): # hack
arg = xhtml.convert_simple_to_full_colors(arg)
else:
@@ -685,8 +685,9 @@ class ChatTab(Tab):
'paused')
self.core.add_timed_event(new_event)
self.timed_event_paused = new_event
- new_event = timed_events.DelayedEvent(30, self.send_chat_state,
- 'inactive' if self.inactive else 'active')
+ new_event = timed_events.DelayedEvent(
+ 30, self.send_chat_state, 'inactive'
+ if self.inactive else 'active')
self.core.add_timed_event(new_event)
self.timed_event_not_paused = new_event