Skip to content

Commit c7b5a97

Browse files
committed
Fix JSON build
1 parent 1d02427 commit c7b5a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/formats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def to_json(element: ET.Element):
171171
return dct | {"langs": langs}
172172

173173
case "lang":
174-
dct = {**element.attrib}
174+
dct = {"ti-ascii": element.attrib["ti-ascii"], "display": element.attrib["display"]}
175175
variants = []
176176

177177
for child in element:

0 commit comments

Comments
 (0)