--- 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'"),