Skip to content

Commit

Permalink
Fixed importjsondict command to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Oct 18, 2024
1 parent b254430 commit d6ee8c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"suffixes": "a"
},
"paradigm": null,
"rw_domains": "",
"rw_domains": [],
"rw_indices": {},
"senses": [
{
Expand All @@ -28,7 +28,7 @@
"suffixes": ""
},
"paradigm": null,
"rw_domains": "",
"rw_domains": [],
"rw_indices": {},
"senses": [
{
Expand All @@ -48,8 +48,8 @@
"suffixes": "TTAM, MIWEW, TCHIKEW"
},
"paradigm": null,
"rw_domains": "",
"rw_indices": "",
"rw_domains": [],
"rw_indices": {},
"senses": [
{
"definition": "he finds it useful, he thinks he likes to be of service, v.g. misiwe âbateyimâwok mistatimwok, horses are found useful everywhere; ayamihawin eoko piko osâm âbateyittamuk; only find religion useful, or, there is only one thing needed, religion.",
Expand All @@ -68,7 +68,7 @@
"suffixes": "ok"
},
"paradigm": null,
"rw_domains": "",
"rw_domains": [],
"rw_indices": {},
"senses": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def run(self):

if "rw_indices" in entry:
rw_indices = "; ".join(
[index for list in entry.values() for index in list]
[index for list in entry["rw_indices"].values() for index in list]
)
else:
rw_indices = ""
Expand Down

0 comments on commit d6ee8c9

Please sign in to comment.