mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-10 07:02:06 +00:00
fix: log warning when emulator instance is not found in check_mumu_bridge_network
This commit is contained in:
@@ -829,6 +829,9 @@ class Connection(ConnectionAttr):
|
||||
instance = self.find_emulator_instance(
|
||||
serial=self.serial,
|
||||
)
|
||||
if instance is None:
|
||||
logger.warning(f'Failed to check check_mumu_bridge_network, emulator instance not found')
|
||||
return False
|
||||
file = instance.mumu_vms_config('customer_config.json')
|
||||
try:
|
||||
with open(file, mode='r', encoding='utf-8') as f:
|
||||
|
||||
Reference in New Issue
Block a user