🐛[bugfix] model 削除する変数を間違えていた問題を修正
del self.translator -> del self.keyword_processor
This commit is contained in:
2
model.py
2
model.py
@@ -67,7 +67,7 @@ class Model:
|
|||||||
self.translator = Translator()
|
self.translator = Translator()
|
||||||
|
|
||||||
def resetKeywordProcessor(self):
|
def resetKeywordProcessor(self):
|
||||||
del self.translator
|
del self.keyword_processor
|
||||||
self.keyword_processor = KeywordProcessor()
|
self.keyword_processor = KeywordProcessor()
|
||||||
|
|
||||||
def authenticationTranslator(self, fnc, choice_translator=None, auth_key=None):
|
def authenticationTranslator(self, fnc, choice_translator=None, auth_key=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user