diff options
author | László Németh <nemeth@numbertext.org> | 2012-11-23 17:45:37 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2012-11-23 20:26:09 +0100 |
commit | 3938d334ff4ce612a01b8cc178b0e79782577a62 (patch) | |
tree | d641ae10cc74167700be33649ec335ac83eea7a3 /hu_HU | |
parent | e295c6f831f0435fc5a68ea0fd1a50bcba76ea16 (diff) |
fdo#57461 fix Lightproof/Hunspell synchronization
Diffstat (limited to 'hu_HU')
-rw-r--r-- | hu_HU/pythonpath/lightproof_impl_hu_HU.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hu_HU/pythonpath/lightproof_impl_hu_HU.py b/hu_HU/pythonpath/lightproof_impl_hu_HU.py index f122057..e94bf25 100644 --- a/hu_HU/pythonpath/lightproof_impl_hu_HU.py +++ b/hu_HU/pythonpath/lightproof_impl_hu_HU.py @@ -54,6 +54,8 @@ def _morph(rLoc, word, pattern, all, onlyaffix): return None t = x.getAlternatives() if not t: + if not analyses: # fix synchronization problem (missing alternatives with unloaded dictionary) + return None t = [""] analyses[word] = t[0].split("</a>")[:-1] a = analyses[word] |