eric6/MicroPython/MicroPythonCommandsInterface.py

branch
micropython
changeset 7115
fe89c98430b6
parent 7113
04ac3f9a87e6
child 7124
1965daf1a14b
diff -r f416440c8be1 -r fe89c98430b6 eric6/MicroPython/MicroPythonCommandsInterface.py
--- a/eric6/MicroPython/MicroPythonCommandsInterface.py	Fri Aug 02 19:21:03 2019 +0200
+++ b/eric6/MicroPython/MicroPythonCommandsInterface.py	Fri Aug 02 19:52:11 2019 +0200
@@ -590,7 +590,7 @@
                 "            u.write(result)",
                 "    f.close()",
             ]),
-            "send_data()", 
+            "send_data()",
         ]
         out, err = self.execute(commands)
         if err:
@@ -775,8 +775,8 @@
             "\n".join([
                 "try:",
                 "    print(__time_.strftime('%Y-%m-%d %H:%M:%S',"
+                # __IGNORE_WARNING_M601__
                 " __time_.localtime()))",
-                # __IGNORE_WARNING_M601__
                 "except AttributeError:",
                 "    tm = __time_.localtime()",
                 "    print('{0:04d}-{1:02d}-{2:02d} {3:02d}:{4:02d}:{5:02d}'"

eric ide

mercurial