Merge pull request #190 from vkbo/bugfixes

Fixed bug in loading of dictionary without enchant installed
This commit is contained in:
Veronica K. Berglyd Olsen
2020-04-22 10:27:17 +02:00
committed by GitHub
+6 -1
View File
@@ -26,8 +26,13 @@
"""
import logging
import enchant
import nw
try:
import enchant
except:
# No need to do anything
# setLanguage will fall back to dummy dictionary
pass
from nw.tools.spellcheck import NWSpellCheck