Merge pull request #383 from theAlexes/theAlexes/fix-uf2conv

uf2conv: argument to `re.split` should be a rawstring
This commit is contained in:
atax1a authored and GitHub committed 2024-03-31 00:40:05 +00:00
commit d2b5ed7155
1 file changed
+1 -1
+1 -1
View File
@@ -180,7 +180,7 @@ def get_drives():
"get", "DeviceID,", "VolumeName,",
"FileSystem,", "DriveType"])
for line in to_str(r).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: