From f2d0642214f2d1bd50f0527993088b8ac5d0676d Mon Sep 17 00:00:00 2001 From: pur1fy <2274916027@qq.com> Date: Tue, 26 Dec 2023 00:10:55 +0800 Subject: [PATCH] Update momo_talk.py --- module/momo_talk.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/momo_talk.py b/module/momo_talk.py index 423a69cd2..9509b7494 100644 --- a/module/momo_talk.py +++ b/module/momo_talk.py @@ -256,10 +256,11 @@ def common_skip_plot_method(self): fail_cnt += 1 if pd_menu_bright(self.latest_img_array): self.logger.info("find MENU button") - self.click(1205, 34, wait=False) + self.click(1205, 34, wait=False,duration=0.3) elif pd_skip_plot_button(self.latest_img_array): self.logger.info("find SKIP PLOT button") - self.click(1213, 116, wait=False) + self.click(1213, 116, wait=False,duration=0.3) + time.sleep(0.3) self.logger.info("Didn't find confirm button, fail count: " + str(fail_cnt)) time.sleep(self.screenshot_interval) self.logger.info("skip plot fail")