diff options
| author | QMK Bot <hello@qmk.fm> | 2024-07-17 19:31:51 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2024-07-17 19:31:51 +0000 |
| commit | e69be076fc1da66e7cebbb5f4f7ad9ddb851d687 (patch) | |
| tree | 8661e314d8960025d2fdae58b4d0ba88f7c7ae02 /lib/python | |
| parent | 275e9de350d3588ddab058fda6536111b7a27fdc (diff) | |
| parent | 63ef6516d31149a01df1694907425a99e06e8bcc (diff) | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/qmk/flashers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/qmk/flashers.py b/lib/python/qmk/flashers.py index 9ecb5e4b9c..7ee1bc8de7 100644 --- a/lib/python/qmk/flashers.py +++ b/lib/python/qmk/flashers.py | |||
| @@ -206,6 +206,8 @@ def _flash_uf2(file): | |||
| 206 | 206 | ||
| 207 | 207 | ||
| 208 | def flasher(mcu, file): | 208 | def flasher(mcu, file): |
| 209 | # Avoid "expected string or bytes-like object, got 'WindowsPath" issues | ||
| 210 | file = file.as_posix() | ||
| 209 | bl, details = _find_bootloader() | 211 | bl, details = _find_bootloader() |
| 210 | # Add a small sleep to avoid race conditions | 212 | # Add a small sleep to avoid race conditions |
| 211 | time.sleep(1) | 213 | time.sleep(1) |
