diff --git a/module/ocr/ocr.py b/module/ocr/ocr.py index 81506bfa7..f02ecf8e7 100644 --- a/module/ocr/ocr.py +++ b/module/ocr/ocr.py @@ -392,6 +392,7 @@ class Duration(Ocr): def after_process(self, result): result = super().after_process(result) result = result.strip('.,。,') + result = result.replace('Oh', '0h').replace('oh', '0h') return result def format_result(self, result: str) -> timedelta: