From 8167f9d3a43369c1a7367741bff32f69b96aa912 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sat, 16 Apr 2011 01:19:53 +0200 Subject: Fix a typo that made the ban messages not appear at all --- src/keyboard.py | 1 + src/tabs.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 # # 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): -- cgit v1.2.3