From 4830097670d72c56053e22f487202f0af16464eb Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 29 十二月 2023 18:12:09 +0800 Subject: [PATCH] bug修复 --- third_data/kpl_util.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/third_data/kpl_util.py b/third_data/kpl_util.py index 6762d06..8e7c183 100644 --- a/third_data/kpl_util.py +++ b/third_data/kpl_util.py @@ -288,6 +288,12 @@ return b +def filter_block(block): + if not block: + return block + return block.replace("姒傚康", "") + + if __name__ == "__main__": print(get_high_level_count("棣栨澘")) print(get_high_level_count("5澶�4鏉�")) -- Gitblit v1.8.0