mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 19:55:12 +00:00
fix: add required argument
This commit is contained in:
parent
143f519adb
commit
0a697e9398
@ -31,13 +31,13 @@ class Login(UI):
|
||||
return False
|
||||
|
||||
@Config.when(Emulator_GameLanguage='en')
|
||||
def _handle_survey():
|
||||
def _handle_survey(self):
|
||||
if self.appear_then_click(SURVEY):
|
||||
return True
|
||||
return False
|
||||
|
||||
@Config.when(Emulator_GameLanguage=None)
|
||||
def _handle_survey():
|
||||
def _handle_survey(self):
|
||||
pass
|
||||
|
||||
logger.hr('App login')
|
||||
@ -89,7 +89,7 @@ class Login(UI):
|
||||
# continue
|
||||
if self.appear_then_click(UPDATE):
|
||||
continue
|
||||
if _handle_survey():
|
||||
if _handle_survey(self):
|
||||
continue
|
||||
if self.ui_additional():
|
||||
continue
|
||||
|
||||
Loading…
Reference in New Issue
Block a user