Add unicoding of input string (wordentries)

This commit is contained in:
Jack Stdin
2016-02-15 12:28:13 +03:00
parent 14118e4b0d
commit 9e72041d04
4 changed files with 5 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ class WordEntry:
def __init__(self, db, word):
self.db = db
self.word = str(word)
self.word = unicode(word)
self.word_len = len(unicode(self.word))
self.variations = []
self.scname = None