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)

This commit is contained in:
Kovid Goyal 2014-05-23 14:35:53 +05:30
parent 29c5efa641
commit 2a84c0c1b6

View File

@ -348,6 +348,8 @@ class Dictionaries(object):
ans = d.obj.recognized(word) ans = d.obj.recognized(word)
except ValueError: except ValueError:
pass pass
else:
ans = True
self.word_cache[key] = ans self.word_cache[key] = ans
return ans return ans