Update spell_check.py
This commit is contained in:
parent
698a9b295f
commit
a2f7245579
@ -22,6 +22,7 @@ class command():
|
|||||||
if environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage') != self.language:
|
if environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage') != self.language:
|
||||||
try:
|
try:
|
||||||
self.spellChecker = enchant.Dict(environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage'))
|
self.spellChecker = enchant.Dict(environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage'))
|
||||||
|
self.language = environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage')
|
||||||
except:
|
except:
|
||||||
return environment
|
return environment
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user