--- a/src/eric7/MicroPython/MicroPythonDeviceInterface.py Mon Feb 27 17:43:11 2023 +0100 +++ b/src/eric7/MicroPython/MicroPythonDeviceInterface.py Mon Feb 27 17:43:51 2023 +0100 @@ -404,7 +404,11 @@ self.__pasteOff() QThread.msleep(10) # read until Python prompt - result = self.__serial.readUntil(b">>> ", timeout=timeout).replace(b">>> ", b"").strip() + result = ( + self.__serial.readUntil(b">>> ", timeout=timeout) + .replace(b">>> ", b"") + .strip() + ) if self.__serial.hasTimedOut(): self.__blockReadyRead = False return b"", b"Timeout while processing commands."