src/eric7/MicroPython/Devices/CircuitPythonUpdater/ShowInstalledDialog.py

branch
eric7
changeset 10900
4139f17d07ad
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
--- a/src/eric7/MicroPython/Devices/CircuitPythonUpdater/ShowInstalledDialog.py	Sat Aug 31 15:55:04 2024 +0200
+++ b/src/eric7/MicroPython/Devices/CircuitPythonUpdater/ShowInstalledDialog.py	Sat Aug 31 17:19:33 2024 +0200
@@ -32,8 +32,9 @@
         super().__init__(parent)
         self.setupUi(self)
 
+        backend = circup.DiskBackend(devicePath, circup.logger)
         self.modulesList.clear()
-        deviceModules = circup.get_device_versions(devicePath)
+        deviceModules = backend.get_device_versions()
         for name, metadata in deviceModules.items():
             QTreeWidgetItem(
                 self.modulesList,

eric ide

mercurial