Fri, 21 Mar 2025 18:01:35 +0100
Fixed an issue in the MicroPython device base class determining the existence of a directory or file.
src/eric7/MicroPython/Devices/DeviceBase.py | file | annotate | diff | comparison | revisions |
--- a/src/eric7/MicroPython/Devices/DeviceBase.py Fri Mar 21 17:22:00 2025 +0100 +++ b/src/eric7/MicroPython/Devices/DeviceBase.py Fri Mar 21 18:01:35 2025 +0100 @@ -567,7 +567,7 @@ command = """ import os as __os_ try: - __os_.stat({0}) + _ = __os_.stat({0}) print(True) except OSError: print(False)