mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Fix: Remove emulator calls before refactored
This commit is contained in:
@@ -153,12 +153,7 @@ class LoginHandler(UI):
|
||||
|
||||
def app_restart(self):
|
||||
logger.hr('App restart')
|
||||
if self.config.RestartEmulator_DailyRestart\
|
||||
and self.config.Scheduler_NextRun.strftime('%H:%M:%S') \
|
||||
== get_server_next_update(self.config.Scheduler_ServerUpdate).strftime('%H:%M:%S'):
|
||||
self.device.emulator_restart()
|
||||
else:
|
||||
self.device.app_stop()
|
||||
self.device.app_stop()
|
||||
self.device.app_start()
|
||||
self.handle_app_login()
|
||||
# self.ensure_no_unfinished_campaign()
|
||||
|
||||
Reference in New Issue
Block a user