From cf7f1db5c64181b1d3b7a314ad7a78f915ba6705 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Tue, 20 Jul 2010 20:02:12 +0000 Subject: [PATCH] fix a crash on last word completion --- src/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui.py b/src/gui.py index 102ccb44..6d046a89 100644 --- a/src/gui.py +++ b/src/gui.py @@ -269,7 +269,7 @@ class Gui(object): for char in char_we_dont_want: # remove the chars we don't want word = word.replace(char, '') if len(word) > 5: - words.append(word) + words.append(word.encode('utf-8')) self.window.input.auto_completion(words) def go_to_important_room(self):