Corrected an issue in the UF2 flash dialog. eric7

Tue, 18 Mar 2025 18:32:29 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 18 Mar 2025 18:32:29 +0100
branch
eric7
changeset 11176
1b0e4bf80f49
parent 11175
ca7057547506
child 11177
f511038a0061

Corrected an issue in the UF2 flash dialog.

src/eric7/MicroPython/UF2FlashDialog.py file | annotate | diff | comparison | revisions
--- a/src/eric7/MicroPython/UF2FlashDialog.py	Tue Mar 18 18:20:04 2025 +0100
+++ b/src/eric7/MicroPython/UF2FlashDialog.py	Tue Mar 18 18:32:29 2025 +0100
@@ -1281,6 +1281,7 @@
                 foundVolumes += FileSystemUtilities.findVolume(
                     volume, findAll=True, markerFile="INFO_UF2.TXT"
                 )
+            foundVolumes = list(set(foundVolumes))  # make entries unique
 
             if len(foundVolumes) == 0:
                 self.__showNoVolumeInformation([v[0] for v in volumes], boardType)

eric ide

mercurial