fix a crash on last word completion
This commit is contained in:
parent
5dd7c9598e
commit
cf7f1db5c6
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ class Gui(object):
|
||||||
for char in char_we_dont_want: # remove the chars we don't want
|
for char in char_we_dont_want: # remove the chars we don't want
|
||||||
word = word.replace(char, '')
|
word = word.replace(char, '')
|
||||||
if len(word) > 5:
|
if len(word) > 5:
|
||||||
words.append(word)
|
words.append(word.encode('utf-8'))
|
||||||
self.window.input.auto_completion(words)
|
self.window.input.auto_completion(words)
|
||||||
|
|
||||||
def go_to_important_room(self):
|
def go_to_important_room(self):
|
||||||
|
|
Loading…
Reference in a new issue