mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: [ALAS] Ignore errors in brute force connect
This commit is contained in:
parent
b2724dca64
commit
3b4ac53d6c
@ -783,7 +783,7 @@ class Connection(ConnectionAttr):
|
||||
self.detect_device()
|
||||
if self.serial != before:
|
||||
return True
|
||||
run_once(self.check_mumu_bridge_network())()
|
||||
run_once(self.check_mumu_bridge_network)()
|
||||
# No such device
|
||||
logger.warning('No such device exists, please restart the emulator or set a correct serial')
|
||||
raise EmulatorNotRunningError
|
||||
@ -799,7 +799,10 @@ class Connection(ConnectionAttr):
|
||||
serial_list (list[str]):
|
||||
"""
|
||||
def connect(s):
|
||||
try:
|
||||
msg = self.adb_client.connect(s)
|
||||
except Exception:
|
||||
return ''
|
||||
logger.info(msg)
|
||||
return msg
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user