Fix Bottle http server running

This commit is contained in:
jar3b
2016-03-15 17:25:56 +03:00
parent e1e9d15414
commit cbeedcc985
3 changed files with 9 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ class WordEntry:
def __cleanify(self, word):
return word.replace('-', '').replace('@', '')
def variations_gen(self, strong, suggestion_func):
def variations_generator(self, strong, suggestion_func):
default_var_type = VariationType.normal
# Если слово встречается часто, ставим у всех вариантов тип VariationType.freq
if self.parameters['IS_FREQ']: