diff --git a/tasks/login/login.py b/tasks/login/login.py index e171ebd..a518cf3 100644 --- a/tasks/login/login.py +++ b/tasks/login/login.py @@ -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