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: