diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-03-21 21:24:39 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-03-21 21:24:39 +0100 |
commit | 3ad429f00bfa4ba02980629c456e4d5109e8dab2 (patch) | |
tree | 360383cf9f0e52d70cf4f1b6fb236d2955b88057 /src/tabs.py | |
parent | dca88cadbd22f02cb355981841c7bf5175deff0c (diff) | |
download | poezio-3ad429f00bfa4ba02980629c456e4d5109e8dab2.tar.gz poezio-3ad429f00bfa4ba02980629c456e4d5109e8dab2.tar.bz2 poezio-3ad429f00bfa4ba02980629c456e4d5109e8dab2.tar.xz poezio-3ad429f00bfa4ba02980629c456e4d5109e8dab2.zip |
Hix a crash on last word completion
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py index adb4ddae..8bbe81c1 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1,4 +1,4 @@ -# Copyright 2010-2011 Le Coz Florent <louiz@louiz.org> +c# Copyright 2010-2011 Le Coz Florent <louiz@louiz.org> # # This file is part of Poezio. # @@ -260,7 +260,7 @@ class ChatTab(Tab): for msg in self._room.messages[:-40:-1]: if not msg: continue - txt = msg.get('txt') + txt = msg.txt for char in char_we_dont_want: txt = txt.replace(char, ' ') for word in txt.split(): |