Fixed a typo
This commit is contained in:
parent
0bf0fd9f27
commit
20dcb4a475
@ -19,7 +19,7 @@ class spellChecker(object):
|
|||||||
self.checker = checker.SpellChecker()
|
self.checker = checker.SpellChecker()
|
||||||
log.debug("Using language: %s" % (languageHandler.getLanguage(),))
|
log.debug("Using language: %s" % (languageHandler.getLanguage(),))
|
||||||
try:
|
try:
|
||||||
self.checker.set_language(languageHandler.curLang::2])
|
self.checker.set_language(languageHandler.curLang[:2])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
log.exception("Dictionary for language %s not found." % (languageHandler.curLang,))
|
log.exception("Dictionary for language %s not found." % (languageHandler.curLang,))
|
||||||
wx_ui.dict_not_found_error()
|
wx_ui.dict_not_found_error()
|
||||||
|
Loading…
Reference in New Issue
Block a user