fix a crash on last word completion

parent 5dd7c959
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment