Make sure all except statements are no longer empty, should help a lot with debugging.
This commit is contained in:
@ -11,7 +11,7 @@ initialized = False
|
||||
try:
|
||||
import enchant
|
||||
initialized = True
|
||||
except:
|
||||
except Exception as e:
|
||||
pass
|
||||
|
||||
class command():
|
||||
@ -40,7 +40,7 @@ class command():
|
||||
if self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage') != self.language:
|
||||
try:
|
||||
self.updateSpellLanguage()
|
||||
except:
|
||||
except Exception as e:
|
||||
return
|
||||
|
||||
# just when horizontal cursor move worddetection is needed
|
||||
@ -111,17 +111,17 @@ class command():
|
||||
try:
|
||||
if os.path.exists("/bin/"+currWord):
|
||||
return
|
||||
except:
|
||||
except Exception as e:
|
||||
pass
|
||||
try:
|
||||
if os.path.exists("/usr/bin/"+currWord):
|
||||
return
|
||||
except:
|
||||
except Exception as e:
|
||||
pass
|
||||
try:
|
||||
if os.path.exists("/sbin/"+currWord):
|
||||
return
|
||||
except:
|
||||
except Exception as e:
|
||||
pass
|
||||
|
||||
if not self.spellChecker.check(currWord):
|
||||
|
Reference in New Issue
Block a user