diff options
-rw-r--r-- | scudcloud-1.0/lib/speller.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scudcloud-1.0/lib/speller.py b/scudcloud-1.0/lib/speller.py index 6fd34df..b304f01 100644 --- a/scudcloud-1.0/lib/speller.py +++ b/scudcloud-1.0/lib/speller.py @@ -24,7 +24,7 @@ class Speller(QObject): return dictionaryPath = self.getDictionaryPath() language = self.parseLanguage(dictionaryPath) - if dictionaryPath is None or language is None: + if dictionaryPath=='' or language is None: return self.hunspell = hunspell.HunSpell(dictionaryPath + ".dic", dictionaryPath + ".aff") self.initialized = True |