src/eric7/MicroPython/Devices/GenericMicroPythonDevices.py

branch
eric7
changeset 11034
7b8a21fd2d58
parent 10806
2f6df822e3b9
child 11090
f5f5f5803935
equal deleted inserted replaced
11033:6b197c3389f7 11034:7b8a21fd2d58
262 available firmware version. 262 available firmware version.
263 """ 263 """
264 if self.microPython.isConnected(): 264 if self.microPython.isConnected():
265 if self._deviceData["mpy_name"] != "micropython": 265 if self._deviceData["mpy_name"] != "micropython":
266 EricMessageBox.critical( 266 EricMessageBox.critical(
267 None, 267 self.microPython,
268 self.tr("Show MicroPython Versions"), 268 self.tr("Show MicroPython Versions"),
269 self.tr( 269 self.tr(
270 """The firmware of the connected device cannot be""" 270 """The firmware of the connected device cannot be"""
271 """ determined or the board does not run MicroPython.""" 271 """ determined or the board does not run MicroPython."""
272 """ Aborting...""" 272 """ Aborting..."""
324 ) 324 )
325 if currentVersion < latestVersion: 325 if currentVersion < latestVersion:
326 msg += self.tr("<p><b>Update available!</b></p>") 326 msg += self.tr("<p><b>Update available!</b></p>")
327 327
328 EricMessageBox.information( 328 EricMessageBox.information(
329 None, 329 self.microPython,
330 self.tr("MicroPython Version"), 330 self.tr("MicroPython Version"),
331 msg, 331 msg,
332 ) 332 )
333 333
334 @pyqtSlot() 334 @pyqtSlot()

eric ide

mercurial