aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristof Damian <christof@damian.net>2015-09-28 12:08:15 +0200
committerChristof Damian <christof@damian.net>2015-09-28 12:08:15 +0200
commit584cace6b514a9db647b99dec3be4c864cda4579 (patch)
treee7fe1be1bcef22df798efbe4cc16b147d1ce4de2
parentee56f02e21f5ab50fa9d6c0ce21aa741d9b31a4a (diff)
downloadscudcloud-584cace6b514a9db647b99dec3be4c864cda4579.zip
scudcloud-584cace6b514a9db647b99dec3be4c864cda4579.tar.gz
scudcloud-584cace6b514a9db647b99dec3be4c864cda4579.tar.bz2
fix dictionary path check
-rw-r--r--scudcloud-1.0/lib/speller.py2
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