src/eric7/MicroPython/ConnectionSelectionDialog.py

branch
eric7
changeset 9759
4543b7876047
parent 9653
e67609152c5e
child 9765
6378da868bb0
--- a/src/eric7/MicroPython/ConnectionSelectionDialog.py	Mon Feb 13 17:52:26 2023 +0100
+++ b/src/eric7/MicroPython/ConnectionSelectionDialog.py	Mon Feb 13 17:53:27 2023 +0100
@@ -11,7 +11,7 @@
 from PyQt6.QtCore import Qt, pyqtSlot
 from PyQt6.QtWidgets import QDialog, QDialogButtonBox
 
-from . import MicroPythonDevices
+from .Devices import getSupportedDevices
 from .Ui_ConnectionSelectionDialog import Ui_ConnectionSelectionDialog
 
 
@@ -53,7 +53,7 @@
 
         self.deviceTypeComboBox.addItem("", "")
         for board, description in sorted(
-            MicroPythonDevices.getSupportedDevices(), key=lambda x: x[1]
+            getSupportedDevices(), key=lambda x: x[1]
         ):
             self.deviceTypeComboBox.addItem(description, board)
 

eric ide

mercurial