Mon, 27 Feb 2023 16:21:24 +0100
Fixed copying the firmware file in the UF2 flash dialog (use copy instead of copy2).
src/eric7/MicroPython/UF2FlashDialog.py | file | annotate | diff | comparison | revisions |
--- a/src/eric7/MicroPython/UF2FlashDialog.py Mon Feb 27 16:20:08 2023 +0100 +++ b/src/eric7/MicroPython/UF2FlashDialog.py Mon Feb 27 16:21:24 2023 +0100 @@ -1002,7 +1002,7 @@ QCoreApplication.processEvents( QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents ) - shutil.copy2(firmwarePath, volumePath) + shutil.copy(firmwarePath, volumePath) QThread.sleep(1) self.on_refreshButton_clicked()