Commit 20dcb4a4 authored by Manuel Cortez's avatar Manuel Cortez

Fixed a typo

parent 0bf0fd9f
Pipeline #627 passed with stages
in 3 minutes and 58 seconds
......@@ -19,7 +19,7 @@ class spellChecker(object):
self.checker = checker.SpellChecker()
log.debug("Using language: %s" % (languageHandler.getLanguage(),))
try:
self.checker.set_language(languageHandler.curLang::2])
self.checker.set_language(languageHandler.curLang[:2])
except ValueError:
log.exception("Dictionary for language %s not found." % (languageHandler.curLang,))
wx_ui.dict_not_found_error()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment