--- a/eric6/MicroPython/MicrobitDevices.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/MicroPython/MicrobitDevices.py Tue Mar 02 17:17:09 2021 +0100 @@ -268,7 +268,7 @@ ) elif len(deviceDirectories) == 1: downloadsPath = QStandardPaths.standardLocations( - QStandardPaths.DownloadLocation)[0] + QStandardPaths.StandardLocation.DownloadLocation)[0] firmware = E5FileDialog.getOpenFileName( self.microPython, self.tr("Flash MicroPython/Firmware"), @@ -334,7 +334,7 @@ self.microPython, title, self.tr("Enter a file name on the device:"), - QLineEdit.Normal, + QLineEdit.EchoMode.Normal, scriptName) if not ok or not bool(scriptName): return