Update spell_check.py

This commit is contained in:
chrys87 2016-09-06 09:44:53 +02:00 committed by GitHub
parent 698a9b295f
commit a2f7245579

View File

@ -22,6 +22,7 @@ class command():
if environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage') != self.language:
try:
self.spellChecker = enchant.Dict(environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage'))
self.language = environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage')
except:
return environment