summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-16 01:19:53 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-16 01:19:53 +0200
commit8167f9d3a43369c1a7367741bff32f69b96aa912 (patch)
tree91357b1ef3f82dd60d19c1a8697a92afc39858f3 /src
parent60e0b2caab47a13395d79d86f268713b0b252b5e (diff)
downloadpoezio-8167f9d3a43369c1a7367741bff32f69b96aa912.tar.gz
poezio-8167f9d3a43369c1a7367741bff32f69b96aa912.tar.bz2
poezio-8167f9d3a43369c1a7367741bff32f69b96aa912.tar.xz
poezio-8167f9d3a43369c1a7367741bff32f69b96aa912.zip
Fix a typo that made the ban messages not appear at all
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):