From 91632d222af6ab6e29a57d347a70cacf76dcaee9 Mon Sep 17 00:00:00 2001 From: xxyzz Date: Thu, 9 Nov 2023 14:19:44 +0800 Subject: [PATCH] Fix import error --- src/wiktextract/extractor/zh/thesaurus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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