diff options
author | Glenn Moloney <glenn.moloney@gmail.com> | 2024-10-26 15:19:54 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-10-28 12:23:10 +1100 |
commit | 9ea8d2a03181681feebaede3add82ec4970e30d7 (patch) | |
tree | 9577e58660888349c0b2837e8a837a5b834c4e25 /docs/esp8266/tutorial/intro.rst | |
parent | 043ba45bc36a4bb19e732ae3f68181a05137906b (diff) | |
download | micropython-9ea8d2a03181681feebaede3add82ec4970e30d7.tar.gz micropython-9ea8d2a03181681feebaede3add82ec4970e30d7.zip |
tools/mpremote: Fix UnboundLocalError in Transport.fs_writefile().
The variable `written` was being used before it was defined in the
`fs_writefile()` method of the Transport class. This was causing an
`UnboundLocalError` to be raised when the `progress_callback` was not
provided.
Fixes issue #16084.
Signed-off-by: Glenn Moloney <glenn.moloney@gmail.com>
Diffstat (limited to 'docs/esp8266/tutorial/intro.rst')
0 files changed, 0 insertions, 0 deletions