src/eric7/MicroPython/Devices/STLinkDevices.py

branch
eric7
changeset 9972
68ac01294544
parent 9958
a78b83d1062a
child 9989
286c2a21f36f
diff -r 773ad1f1ed22 -r 68ac01294544 src/eric7/MicroPython/Devices/STLinkDevices.py
--- a/src/eric7/MicroPython/Devices/STLinkDevices.py	Wed Apr 05 11:58:22 2023 +0200
+++ b/src/eric7/MicroPython/Devices/STLinkDevices.py	Wed Apr 05 12:05:06 2023 +0200
@@ -369,9 +369,7 @@
                     self.tr("MicroPython Firmware Files (*.hex *.bin);; All Files (*)"),
                 )
                 if firmware and os.path.exists(firmware):
-                    args = [
-                        "--connect-under-reset"
-                    ]
+                    args = ["--connect-under-reset"]
                     if os.path.splitext(firmware)[-1].lower() == ".hex":
                         args.extend(["--format", "ihex", "write", firmware])
                     else:

eric ide

mercurial