src/eric7/MicroPython/Devices/STLinkDevices.py

branch
eric7
changeset 11034
7b8a21fd2d58
parent 11006
a671918232f3
child 11090
f5f5f5803935
equal deleted inserted replaced
11033:6b197c3389f7 11034:7b8a21fd2d58
417 available firmware version. 417 available firmware version.
418 """ 418 """
419 if self.microPython.isConnected(): 419 if self.microPython.isConnected():
420 if self._deviceData["mpy_name"] != "micropython": 420 if self._deviceData["mpy_name"] != "micropython":
421 EricMessageBox.critical( 421 EricMessageBox.critical(
422 None, 422 self.microPython,
423 self.tr("Show MicroPython Versions"), 423 self.tr("Show MicroPython Versions"),
424 self.tr( 424 self.tr(
425 """The firmware of the connected device cannot be""" 425 """The firmware of the connected device cannot be"""
426 """ determined or the board does not run MicroPython.""" 426 """ determined or the board does not run MicroPython."""
427 """ Aborting...""" 427 """ Aborting..."""
464 ).format(currentVersionStr, tag) 464 ).format(currentVersionStr, tag)
465 if currentVersion < latestVersion: 465 if currentVersion < latestVersion:
466 msg += self.tr("<p><b>Update available!</b></p>") 466 msg += self.tr("<p><b>Update available!</b></p>")
467 467
468 EricMessageBox.information( 468 EricMessageBox.information(
469 None, 469 self.microPython,
470 self.tr("MicroPython Version"), 470 self.tr("MicroPython Version"),
471 msg, 471 msg,
472 ) 472 )
473 473
474 @pyqtSlot() 474 @pyqtSlot()

eric ide

mercurial