From 3ad429f00bfa4ba02980629c456e4d5109e8dab2 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 21 Mar 2011 21:24:39 +0100 Subject: [PATCH] Hix a crash on last word completion --- src/tabs.py | 4 ++-- 1 file 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 +c# Copyright 2010-2011 Le Coz Florent # # 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():