From d86e8907a2efa91de8397dfadf7cbbc07e802b6e Mon Sep 17 00:00:00 2001 From: guoh064 <50830808+guoh064@users.noreply.github.com> Date: Fri, 14 Apr 2023 23:14:44 +0800 Subject: [PATCH] Add: Handle LOGIN_ANNOUNCE in ui_additional (#2494) --- module/ui/ui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/ui/ui.py b/module/ui/ui.py index 2a722fcce..4c2f65728 100644 --- a/module/ui/ui.py +++ b/module/ui/ui.py @@ -558,6 +558,8 @@ class UI(InfoHandler): # Login if self.appear_then_click(LOGIN_CHECK, offset=(30, 30), interval=3): return True + if self.appear_then_click(LOGIN_ANNOUNCE, offset=(30, 30), interval=3): + return True # Mistaken click if self.appear(EXERCISE_PREPARATION, interval=3):