From f295457441b4f37cd4aa25af87e756befb941681 Mon Sep 17 00:00:00 2001 From: Miyamizu-MitsuhaSang <2510681107@qq.com> Date: Wed, 27 Aug 2025 16:46:42 +0800 Subject: [PATCH] =?UTF-8?q?jp.py:=20=E8=B0=83=E6=95=B4=E8=A1=A8=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E4=BB=A5=E9=80=82=E9=85=8D=E6=97=A5=E8=AF=AD=E8=AF=8D?= =?UTF-8?q?=E5=85=B8=E7=BB=93=E6=9E=84=20requirements.txt:=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=BE=9D=E8=B5=96=E5=8C=85=20admin=5Fschemas.py:=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=A5=E8=AF=AD=E8=AF=8D=E6=80=A7Enum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/update_jp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_jp.py b/scripts/update_jp.py index 2dbb7f1..923e3af 100644 --- a/scripts/update_jp.py +++ b/scripts/update_jp.py @@ -200,7 +200,7 @@ async def import_attachment(path: Path = xlsx_path, sheet_name: str = "日汉释 continue hiragana = normalize_jp_text(jaconv.kata2hira(str(row[1]))) if pd.isna(row[2]) else normalize_jp_text(str(row[2])) - romaji = kana_to_romaji(word) + romaji = jaconv.kana2alphabet(hiragana) await AttachmentJp.get_or_create( word=word_obj,