Corrected a code style issue in the UF2 flash dialog. eric7

Thu, 10 Apr 2025 18:35:46 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 10 Apr 2025 18:35:46 +0200
branch
eric7
changeset 11213
2bbdb06da276
parent 11212
c8fc753176c6
child 11214
8cb6b7651074

Corrected a code style issue in the UF2 flash dialog.

src/eric7/MicroPython/UF2FlashDialog.py file | annotate | diff | comparison | revisions
--- a/src/eric7/MicroPython/UF2FlashDialog.py	Tue Apr 08 15:34:25 2025 +0200
+++ b/src/eric7/MicroPython/UF2FlashDialog.py	Thu Apr 10 18:35:46 2025 +0200
@@ -1060,7 +1060,7 @@
 
         self.infoLabel.setText(self.tr("Flash Instructions:"))
 
-        if self.__boardType and not "+" in self.__boardType:
+        if self.__boardType and "+" not in self.__boardType:
             htmlText = self.tr(
                 "<h4>Flash {0} Firmware</h4>"
                 "<p>Follow the instructions below to set <b>one</b> board into"

eric ide

mercurial