mirror of
https://github.com/LibreOffice/dictionaries.git
synced 2025-08-20 14:12:37 +00:00
fdo#57461 fix Lightproof/Hunspell synchronization
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user