src/eric7/MicroPython/Devices/RP2040Devices.py

branch
eric7
changeset 10621
f5631f40c4d9
parent 10439
21c28b0f9e41
child 10683
779cda568acb
equal deleted inserted replaced
10620:699b5ceb39aa 10621:f5631f40c4d9
311 "{2}" 311 "{2}"
312 "</table>" 312 "</table>"
313 ).format( 313 ).format(
314 currentVersionStr, 314 currentVersionStr,
315 tag, 315 tag,
316 self.tr("<tr><td>Variant:</td><td>{0}</td></tr>").format( 316 (
317 self._deviceData["mpy_variant"] 317 self.tr("<tr><td>Variant:</td><td>{0}</td></tr>").format(
318 ) 318 self._deviceData["mpy_variant"]
319 if self._deviceData["mpy_variant"] 319 )
320 else "", 320 if self._deviceData["mpy_variant"]
321 else ""
322 ),
321 ) 323 )
322 if self._deviceData["mpy_variant"] in ["Pimoroni Pico"] and not bool( 324 if self._deviceData["mpy_variant"] in ["Pimoroni Pico"] and not bool(
323 self._deviceData["mpy_variant_version"] 325 self._deviceData["mpy_variant_version"]
324 ): 326 ):
325 # cannot derive update info 327 # cannot derive update info

eric ide

mercurial