src/eric7/MicroPython/Devices/RP2Devices.py

branch
eric7
changeset 11034
7b8a21fd2d58
parent 11005
b918c6c2736b
child 11051
e8a7be10b76c
equal deleted inserted replaced
11033:6b197c3389f7 11034:7b8a21fd2d58
256 available firmware version. 256 available firmware version.
257 """ 257 """
258 if self.microPython.isConnected(): 258 if self.microPython.isConnected():
259 if self._deviceData["mpy_name"] != "micropython": 259 if self._deviceData["mpy_name"] != "micropython":
260 EricMessageBox.critical( 260 EricMessageBox.critical(
261 None, 261 self.microPython,
262 self.tr("Show MicroPython Versions"), 262 self.tr("Show MicroPython Versions"),
263 self.tr( 263 self.tr(
264 """The firmware of the connected device cannot be""" 264 """The firmware of the connected device cannot be"""
265 """ determined or the board does not run MicroPython.""" 265 """ determined or the board does not run MicroPython."""
266 """ Aborting...""" 266 """ Aborting..."""
328 msg += self.tr("<p>Update may be available.</p>") 328 msg += self.tr("<p>Update may be available.</p>")
329 elif currentVersion < latestVersion: 329 elif currentVersion < latestVersion:
330 msg += self.tr("<p><b>Update available!</b></p>") 330 msg += self.tr("<p><b>Update available!</b></p>")
331 331
332 EricMessageBox.information( 332 EricMessageBox.information(
333 None, 333 self.microPython,
334 self.tr("MicroPython Version"), 334 self.tr("MicroPython Version"),
335 msg, 335 msg,
336 ) 336 )
337 337
338 @pyqtSlot() 338 @pyqtSlot()

eric ide

mercurial