--- a/src/eric7/MicroPython/UF2FlashDialog.py Sun Dec 03 16:44:52 2023 +0100 +++ b/src/eric7/MicroPython/UF2FlashDialog.py Sun Dec 03 19:46:34 2023 +0100 @@ -674,7 +674,7 @@ if not OSUtilities.isWindowsPlatform(): userMounts = FileSystemUtilities.getUserMounts() - boardTypes = [boardType] if boardType else [*SupportedUF2Boards.keys()] + boardTypes = [boardType] if boardType else list(SupportedUF2Boards) for board in boardTypes: for vidpid, volumes in SupportedUF2Boards[board]["volumes"].items(): for volume, description in volumes: @@ -782,9 +782,7 @@ if len(devices) == 0: # no device set yet devices = [ - d - for d in Devices.getFoundDevices()[0] - if d[0] in SupportedUF2Boards + d for d in Devices.getFoundDevices()[0] if d[0] in SupportedUF2Boards ] self.devicesComboBox.addItem("") self.devicesComboBox.addItem(self.tr("Manual Select"))