From a7290f253e225c53fd0d2d98fd21d444de788b55 Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Sun, 5 Jul 2026 16:37:22 +0800 Subject: [PATCH] fix: remove another dash in ocr results --- module/ocr/keyword.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/ocr/keyword.py b/module/ocr/keyword.py index 4e48932..1c25175 100644 --- a/module/ocr/keyword.py +++ b/module/ocr/keyword.py @@ -7,7 +7,7 @@ import module.config.server as server from module.exception import ScriptError # ord('.') = 65294 -REGEX_PUNCTUATION = re.compile(r'[ ,..\'"“”,。::;;!!??·•\-—/\\\n\t()\[\]()「」『』【】《》[]]') +REGEX_PUNCTUATION = re.compile(r'[ ,..\'"“”,。::;;!!??·•\-—-/\\\n\t()\[\]()「」『』【】《》[]]') def parse_name(n):