diff --git a/src/wiktextract/extractor/zh/thesaurus.py b/src/wiktextract/extractor/zh/thesaurus.py index 8692f3c2..3f466b96 100644 --- a/src/wiktextract/extractor/zh/thesaurus.py +++ b/src/wiktextract/extractor/zh/thesaurus.py @@ -2,7 +2,7 @@ import re from typing import List, Optional, Union -from mediawiki_codes import name_to_code +from mediawiki_langcodes import name_to_code from wikitextprocessor import NodeKind, Page, WikiNode from ...page import clean_node