From 696faed0070f7e89268ed4df740d6a29c52701b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Tue, 2 Feb 2016 09:07:40 -0600 Subject: [PATCH] Fixed a bug in the spell checker --- src/extra/SpellChecker/spellchecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extra/SpellChecker/spellchecker.py b/src/extra/SpellChecker/spellchecker.py index 60885691..47c1904f 100644 --- a/src/extra/SpellChecker/spellchecker.py +++ b/src/extra/SpellChecker/spellchecker.py @@ -19,7 +19,7 @@ class spellChecker(object): try: if config.app["app-settings"]["language"] == "system": log.debug("Using the system language") - self.checker = SpellChecker(filters=[twitterFilter.TwitterFilter, tokenize.EmailFilter, tokenize.URLFilter]) + self.checker = SpellChecker(languageHandler.curLang, filters=[twitterFilter.TwitterFilter, tokenize.EmailFilter, tokenize.URLFilter]) else: log.debug("Using language: %s" % (languageHandler.getLanguage(),)) self.checker = SpellChecker(languageHandler.getLanguage(), filters=[twitterFilter.TwitterFilter, tokenize.EmailFilter, tokenize.URLFilter])