From e71bd484681913db28de7c72e15e4fa589c38585 Mon Sep 17 00:00:00 2001 From: milk <53408947@qq.com> Date: Sat, 13 Sep 2025 01:11:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AB=AF=E5=8F=A3=E5=8F=B7?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 49 ++++++++++++++++++++++---------------------- Module/DeviceInfo.py | 1 - 2 files changed, 24 insertions(+), 26 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6f0ee87..c271da2 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,7 +5,6 @@ - @@ -50,31 +49,31 @@ - { + "keyToString": { + "ASKED_ADD_EXTERNAL_FILES": "true", + "ASKED_MARK_IGNORED_FILES_AS_EXCLUDED": "true", + "Python.12.executor": "Run", + "Python.123.executor": "Run", + "Python.Main.executor": "Run", + "Python.tidevice_entry.executor": "Run", + "RunOnceActivity.ShowReadmeOnStart": "true", + "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true", + "RunOnceActivity.git.unshallow": "true", + "SHARE_PROJECT_CONFIGURATION_FILES": "true", + "git-widget-placeholder": "main", + "javascript.nodejs.core.library.configured.version": "20.17.0", + "javascript.nodejs.core.library.typings.version": "20.17.58", + "last_opened_file_path": "F:/company code/AI item/20250820/iOSAI", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "npm", + "settings.editor.selected.configurable": "preferences.editor.code.editing", + "vue.rearranger.settings.migration": "true" } -}]]> +} diff --git a/Module/DeviceInfo.py b/Module/DeviceInfo.py index d828f2e..5949908 100644 --- a/Module/DeviceInfo.py +++ b/Module/DeviceInfo.py @@ -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: