Fix: Handle yet another dash from OCR

This commit is contained in:
LmeSzinc 2023-10-20 21:58:59 +08:00
parent 9a113a7b9b
commit e6a7f2c472

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):