修复端口号错误的问题

This commit is contained in:
2025-09-13 01:11:28 +08:00
parent 06fd7ce885
commit e71bd48468
2 changed files with 24 additions and 26 deletions

View File

@@ -116,7 +116,6 @@ class Deviceinfo(object):
continue
if len(self.deviceModelList) >= self.maxDeviceCount:
continue
port = self._alloc_port()
try:
self.connectDevice(udid) # 内部会 _add_model
except Exception as e: