mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-23 07:39:28 +08:00
Merge branch 'master_lme'
# Conflicts: # module/equipment/equipment.py
This commit is contained in:
@@ -53,7 +53,7 @@ class LoginHandler(UI):
|
||||
confirm_timer.reset()
|
||||
|
||||
# Login
|
||||
if self.appear(LOGIN_CHECK, offset=(30, 30), interval=5) and LOGIN_CHECK.match_appear_on(self.device.image):
|
||||
if self.match_template_color(LOGIN_CHECK, offset=(30, 30), interval=5):
|
||||
self.device.click(LOGIN_CHECK)
|
||||
if not login_success:
|
||||
logger.info('Login success')
|
||||
|
||||
Reference in New Issue
Block a user