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:"))