Skip to content

Commit

Permalink
Fix uf2conf regex warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jun 2, 2024
1 parent 69599a7 commit f08fed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sming/Arch/Rp2040/Components/uf2/uf2conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def get_drives():
"get", "DeviceID,", "VolumeName,",
"FileSystem,", "DriveType"])
for line in r.decode().split('\n'):
words = re.split('\s+', line)
words = re.split(r'\s+', line)
if len(words) >= 3 and words[1] == "2" and words[2] == "FAT":
drives.append(words[0])
else:
Expand Down

0 comments on commit f08fed4

Please sign in to comment.