diff --git a/Sming/Arch/Rp2040/Components/uf2/uf2conv.py b/Sming/Arch/Rp2040/Components/uf2/uf2conv.py index 06beeb27f2..d7fc2d95da 100644 --- a/Sming/Arch/Rp2040/Components/uf2/uf2conv.py +++ b/Sming/Arch/Rp2040/Components/uf2/uf2conv.py @@ -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: