eric6/MicroPython/UF2FlashDialog.py

changeset 8099
522946e53835
parent 8097
5af9c426c46b
child 8101
dee984e05647
diff -r 36d5f6786a9f -r 522946e53835 eric6/MicroPython/UF2FlashDialog.py
--- a/eric6/MicroPython/UF2FlashDialog.py	Fri Feb 12 19:16:59 2021 +0100
+++ b/eric6/MicroPython/UF2FlashDialog.py	Fri Feb 12 19:23:28 2021 +0100
@@ -514,7 +514,7 @@
         @param devices list of detected devices
         @type list of str
         """
-        boardTypes = set(x[0] for x in devices)
+        boardTypes = {x[0] for x in devices}
         
         self.infoLabel.setText(self.tr("Reset Instructions:"))
         

eric ide

mercurial