Skip to content

Commit

Permalink
Make importjsondict compatible with the last changes on importjson fo…
Browse files Browse the repository at this point in the history
…r rapidwords
  • Loading branch information
fbanados committed Oct 18, 2024
1 parent b6b02ec commit 50ac187
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/morphodict/lexicon/management/commands/importjsondict.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,9 @@ def run(self):
rw_domains = ""

if "rw_indices" in entry:
rw_indices = "; ".join(entry["rw_indices"])
rw_indices = "; ".join(
entry["rw_indices"]["CW"] + entry["rw_indices"]["MD"]
)
else:
rw_indices = ""

Expand Down

0 comments on commit 50ac187

Please sign in to comment.