summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.py1
-rw-r--r--src/tabs.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.py b/src/keyboard.py
index 942d9a70..27edca5f 100644
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
# Copyright 2010-2011 Le Coz Florent <louiz@louiz.org>
#
# This file is part of Poezio.
diff --git a/src/tabs.py b/src/tabs.py
index 2e62b5c4..760aaa08 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -853,7 +853,7 @@ class MucTab(ChatTab):
else:
kick_msg = _('\x191%(spec)s \x193%(nick)s\x195 has been banned') % {'spec':theme.CHAR_KICK, 'nick':from_nick.replace('"', '\\"')}
if reason is not None and reason.text:
- kick_msg += _('\x195 Reason: \x196%(reason\x195)s') % {'reason': reason.text}
+ kick_msg += _('\x195 Reason: \x196%(reason)s\x195') % {'reason': reason.text}
room.add_message(kick_msg)
def on_user_kicked(self, room, presence, user, from_nick):