src/eric7/MicroPython/MicroPythonWidget.py

branch
eric7
changeset 9747
b7976868d5b0
parent 9738
4ae976ee5339
child 9748
df9520c864f2
--- a/src/eric7/MicroPython/MicroPythonWidget.py	Tue Feb 07 11:01:29 2023 +0100
+++ b/src/eric7/MicroPython/MicroPythonWidget.py	Tue Feb 07 18:07:12 2023 +0100
@@ -1514,14 +1514,19 @@
                 if impInfo["version"] == "unknown"
                 else impInfo["version"]
             )
+            variant = (
+                self.tr(" ({0})").format(impInfo["variant"])
+                if impInfo["variant"]
+                else ""
+            )
 
             EricMessageBox.information(
                 self,
                 self.tr("Device Implementation Information"),
                 self.tr(
                     "<h3>Device Implementation Information</h3>"
-                    "<p>This device contains <b>{0} {1}</b>.</p>"
-                ).format(name, version),
+                    "<p>This device contains <b>{0} {1}{2}</b>.</p>"
+                ).format(name, version, variant),
             )
         except Exception as exc:
             self.__showError("getImplementation()", str(exc))

eric ide

mercurial