summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-20 20:02:12 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-20 20:02:12 +0000
commitcf7f1db5c64181b1d3b7a314ad7a78f915ba6705 (patch)
tree866158d3743ad01bda723278d2280eb90d0cf518 /src
parent5dd7c9598ef232239ef742b28272618c172c7b24 (diff)
downloadpoezio-cf7f1db5c64181b1d3b7a314ad7a78f915ba6705.tar.gz
poezio-cf7f1db5c64181b1d3b7a314ad7a78f915ba6705.tar.bz2
poezio-cf7f1db5c64181b1d3b7a314ad7a78f915ba6705.tar.xz
poezio-cf7f1db5c64181b1d3b7a314ad7a78f915ba6705.zip
fix a crash on last word completion
Diffstat (limited to 'src')
-rw-r--r--src/gui.py2
1 files changed, 1 insertions, 1 deletions
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):