From ec7b0e5235bc73d3abb50cf2496e959d299c2128 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 23 Nov 2022 04:37:31 -0500 Subject: [PATCH] [F] Fix hash mismatch --- scripts/.convert_past/last-hash.txt | 2 +- scripts/convert_zh.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/.convert_past/last-hash.txt b/scripts/.convert_past/last-hash.txt index b2e48d50..661d5fdc 100644 --- a/scripts/.convert_past/last-hash.txt +++ b/scripts/.convert_past/last-hash.txt @@ -1 +1 @@ -a805b5fef8b47700b50127a1231dbea5876282a0 +bb82193d413000569b581dbeacfff2017988f49a diff --git a/scripts/convert_zh.py b/scripts/convert_zh.py index 8871e9b8..77cdbe71 100755 --- a/scripts/convert_zh.py +++ b/scripts/convert_zh.py @@ -8,7 +8,7 @@ import opencc from hypy_utils import write from hypy_utils.tqdm_utils import pmap, smap -ALLOWED_DIRS = {Path(p) for p in ['people']} +ALLOWED_DIRS = {Path(p) for p in ['people', 'src/assets']} ALLOWED_SUF = {'.json5', '.md'} HANS_TO_HANT = opencc.OpenCC('s2t.json')