Sat, 01 Jul 2023 19:03:02 +0200
Merged with the Spanish translations update.
--- a/src/eric7/MicroPython/Devices/DeviceBase.py Sat Jul 01 18:17:02 2023 +0200 +++ b/src/eric7/MicroPython/Devices/DeviceBase.py Sat Jul 01 19:03:02 2023 +0200 @@ -848,9 +848,9 @@ if not deviceFileName: raise OSError("Missing device file name") - # convert eol '\r' - content = content.replace(b"\r\n", b"\r") - content = content.replace(b"\n", b"\r") + # convert eol to '\n' + content = content.replace(b"\r\n", b"\n") + content = content.replace(b"\r", b"\n") commands = [ "fd = open('{0}', 'wb')".format(deviceFileName),