Mon, 27 Feb 2023 17:43:51 +0100
Fixed some code formatting issues.
src/eric7/MicroPython/MicroPythonDeviceInterface.py | file | annotate | diff | comparison | revisions | |
src/eric7/MicroPython/UF2FlashDialog.py | file | annotate | diff | comparison | revisions |
--- 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."
--- a/src/eric7/MicroPython/UF2FlashDialog.py Mon Feb 27 17:43:11 2023 +0100 +++ b/src/eric7/MicroPython/UF2FlashDialog.py Mon Feb 27 17:43:51 2023 +0100 @@ -1101,7 +1101,8 @@ "UF2FlashDialog", "Select the Boot Volume of the device:" ), list(foundBootVolumes), - 0, True, + 0, + True, ) selectedVolume = result if ok else ""