fix: remove another dash in ocr results

This commit is contained in:
2026-07-05 16:37:22 +08:00
parent 0b1a4efd09
commit a7290f253e
+1 -1
View File
@@ -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):