diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-03-09 05:27:10 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-03-09 05:27:10 +0100 |
commit | 769b6ec33b6bacc24f825c40a66d6327af383ae9 (patch) | |
tree | 44ccb15c221e797eff80f78224981f440a962e56 /src/tabs.py | |
parent | a516e78bcf76f07545310332290b6c5443d437a7 (diff) | |
download | poezio-769b6ec33b6bacc24f825c40a66d6327af383ae9.tar.gz poezio-769b6ec33b6bacc24f825c40a66d6327af383ae9.tar.bz2 poezio-769b6ec33b6bacc24f825c40a66d6327af383ae9.tar.xz poezio-769b6ec33b6bacc24f825c40a66d6327af383ae9.zip |
little fixes and (very little) optimization
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): |