src/eric7/MicroPython/Devices/EspDevices.py

branch
eric7
changeset 11034
7b8a21fd2d58
parent 11006
a671918232f3
child 11038
918bc08e1f89
equal deleted inserted replaced
11033:6b197c3389f7 11034:7b8a21fd2d58
389 url = QUrl(FirmwareGithubUrls["micropython"]) 389 url = QUrl(FirmwareGithubUrls["micropython"])
390 elif self._deviceData["mpy_name"] == "circuitpython": 390 elif self._deviceData["mpy_name"] == "circuitpython":
391 url = QUrl(FirmwareGithubUrls["circuitpython"]) 391 url = QUrl(FirmwareGithubUrls["circuitpython"])
392 else: 392 else:
393 EricMessageBox.critical( 393 EricMessageBox.critical(
394 None, 394 self.microPython,
395 self.tr("Show MicroPython Versions"), 395 self.tr("Show MicroPython Versions"),
396 self.tr( 396 self.tr(
397 """The firmware of the connected device cannot be""" 397 """The firmware of the connected device cannot be"""
398 """ determined or the board does not run MicroPython""" 398 """ determined or the board does not run MicroPython"""
399 """ or CircuitPython. Aborting...""" 399 """ or CircuitPython. Aborting..."""
442 ).format(kind, currentVersionStr, tag) 442 ).format(kind, currentVersionStr, tag)
443 if currentVersion < latestVersion: 443 if currentVersion < latestVersion:
444 msg += self.tr("<p><b>Update available!</b></p>") 444 msg += self.tr("<p><b>Update available!</b></p>")
445 445
446 EricMessageBox.information( 446 EricMessageBox.information(
447 None, 447 self.microPython,
448 self.tr("{0} Version").format(kind), 448 self.tr("{0} Version").format(kind),
449 msg, 449 msg,
450 ) 450 )
451 451
452 @pyqtSlot() 452 @pyqtSlot()

eric ide

mercurial