Skip to content

Commit

Permalink
Merge pull request #382 from xxyzz/fr
Browse files Browse the repository at this point in the history
Change linakge property "lang" to "lang_name" in "zh/linkage.py"
  • Loading branch information
xxyzz authored Oct 25, 2023
2 parents aeff042 + 7c226f8 commit d8a044c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wiktextract/extractor/zh/linkage.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def extract_linkages(
base_data = defaultdict(
list,
{
"lang": page_data[-1].get("lang"),
"lang_name": page_data[-1].get("lang_name"),
"lang_code": page_data[-1].get("lang_code"),
"word": wxr.wtp.title,
},
Expand Down

0 comments on commit d8a044c

Please sign in to comment.