eric6/MicroPython/MicrobitDevices.py

changeset 7186
ccd55666e9d2
parent 7173
f611c3b7313f
child 7229
53054eb5b15a
--- a/eric6/MicroPython/MicrobitDevices.py	Fri Aug 30 19:00:38 2019 +0200
+++ b/eric6/MicroPython/MicrobitDevices.py	Fri Aug 30 19:07:18 2019 +0200
@@ -232,7 +232,7 @@
         if not aw:
             return
         
-        if not (aw.isPy3File() or aw.isPy2File()):
+        if not (aw.isPyFile() or aw.isMicroPythonFile()):
             yes = E5MessageBox.yesNo(
                 self.microPython,
                 self.tr("Flash Script"),
@@ -272,7 +272,7 @@
         if not aw:
             return
         
-        if not (aw.isPy3File() or aw.isPy2File()):
+        if not (aw.isPyFile() or aw.isMicroPythonFile()):
             yes = E5MessageBox.yesNo(
                 self.microPython,
                 self.tr("Save Script as 'main.py'"),

eric ide

mercurial