diff --git a/nw/tools/spellenchant.py b/nw/tools/spellenchant.py index a2e056e4..18a22e47 100644 --- a/nw/tools/spellenchant.py +++ b/nw/tools/spellenchant.py @@ -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