From 3da156b9167cbf41922027e2fb9b00786f34f0ed Mon Sep 17 00:00:00 2001 From: youpaishidifu Date: Sun, 26 Jul 2026 00:25:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=B7=B2=E7=A7=BB=E9=99=A4=E6=96=B9=E6=B3=95=20=5Fread=5Fvia?= =?UTF-8?q?=5Fclipboard=20=E7=9A=84=E6=AE=8B=E7=95=99=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitor.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/monitor.py b/monitor.py index dac8c8d..488e71a 100644 --- a/monitor.py +++ b/monitor.py @@ -1062,11 +1062,8 @@ class MessageMonitor: if texts: return texts - # OCR 空 → 剪贴板兜底(窗口置前→滚底→全选→复制) + # OCR 空 → 剪贴板兜底(窗口置前→滚底→全选→复制,内部自带重试) texts = self._read_via_clipboard_once(platform) - if texts and len(texts) > 5: - return texts - texts = self._read_via_clipboard(platform) if texts and len(texts) > 5: return texts