From cfabb8425e1c65dd9731b4717c9fe65b15e77405 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Sun, 2 Jun 2024 12:23:51 +0100 Subject: [PATCH] Fix uf2conf regex warning --- Sming/Arch/Rp2040/Components/uf2/uf2conv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: