diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-04-16 01:19:53 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-04-16 01:19:53 +0200 |
commit | 8167f9d3a43369c1a7367741bff32f69b96aa912 (patch) | |
tree | 91357b1ef3f82dd60d19c1a8697a92afc39858f3 /src | |
parent | 60e0b2caab47a13395d79d86f268713b0b252b5e (diff) | |
download | poezio-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.py | 1 | ||||
-rw-r--r-- | src/tabs.py | 2 |
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): |