From 5ddd0f6fc53c4bd7d14c74df431b6035fe965d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:26:22 +0800 Subject: [PATCH] fix --- LunaTranslator/LunaTranslator/textsource/ocrtext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/LunaTranslator/LunaTranslator/textsource/ocrtext.py b/LunaTranslator/LunaTranslator/textsource/ocrtext.py index be71237b..3fda3f61 100644 --- a/LunaTranslator/LunaTranslator/textsource/ocrtext.py +++ b/LunaTranslator/LunaTranslator/textsource/ocrtext.py @@ -101,6 +101,7 @@ class ocrtext(basetext): laststate = (0, 0, 0, 0, 0) while not self.ending: if not self.isautorunning: + time.sleep(0.1) continue if globalconfig["ocr_auto_method"] == 3: