mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Fix: Connecting device over http
This commit is contained in:
@@ -80,7 +80,8 @@ class Connection(ConnectionAttr):
|
||||
config (AzurLaneConfig, str): Name of the user config under ./config
|
||||
"""
|
||||
super().__init__(config)
|
||||
self.detect_device()
|
||||
if not self.is_over_http:
|
||||
self.detect_device()
|
||||
|
||||
# Connect
|
||||
self.adb_connect(self.serial)
|
||||
|
||||
Reference in New Issue
Block a user