src/eric7/MicroPython/UF2FlashDialog.py

branch
eric7
changeset 11176
1b0e4bf80f49
parent 11174
ab097070aedf
child 11178
52699bca6df9
equal deleted inserted replaced
11175:ca7057547506 11176:1b0e4bf80f49
1279 foundVolumes = [] 1279 foundVolumes = []
1280 for volume, _ in volumes: 1280 for volume, _ in volumes:
1281 foundVolumes += FileSystemUtilities.findVolume( 1281 foundVolumes += FileSystemUtilities.findVolume(
1282 volume, findAll=True, markerFile="INFO_UF2.TXT" 1282 volume, findAll=True, markerFile="INFO_UF2.TXT"
1283 ) 1283 )
1284 foundVolumes = list(set(foundVolumes)) # make entries unique
1284 1285
1285 if len(foundVolumes) == 0: 1286 if len(foundVolumes) == 0:
1286 self.__showNoVolumeInformation([v[0] for v in volumes], boardType) 1287 self.__showNoVolumeInformation([v[0] for v in volumes], boardType)
1287 self.bootPicker.clear() 1288 self.bootPicker.clear()
1288 elif len(foundVolumes) == 1: 1289 elif len(foundVolumes) == 1:

eric ide

mercurial