From 769b6ec33b6bacc24f825c40a66d6327af383ae9 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 9 Mar 2011 05:27:10 +0100 Subject: little fixes and (very little) optimization --- src/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tabs.py') diff --git a/src/tabs.py b/src/tabs.py index 7270208b..cafeabc4 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -260,7 +260,7 @@ class ChatTab(Tab): for msg in self._room.messages[:-40:-1]: if not msg: continue - txt = msg.txt + txt = msg.get('txt') for char in char_we_dont_want: txt = txt.replace(char, ' ') for word in txt.split(): -- cgit v1.2.3