From 2a84c0c1b620f40d9349d717e3d7db01c9be186c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 23 May 2014 14:35:53 +0530 Subject: [PATCH] Edit Book: When editing a book in a language for which no dictionary is installed, consider all words to be correctly spelt, rather than misspelt. Fixes #1320829 [Edit book very slow](https://bugs.launchpad.net/calibre/+bug/1320829) --- src/calibre/spell/dictionary.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/spell/dictionary.py b/src/calibre/spell/dictionary.py index 839468ec94..8906caed6c 100644 --- a/src/calibre/spell/dictionary.py +++ b/src/calibre/spell/dictionary.py @@ -348,6 +348,8 @@ class Dictionaries(object): ans = d.obj.recognized(word) except ValueError: pass + else: + ans = True self.word_cache[key] = ans return ans