diff options
author | Alex Maestas <git@se30.xyz> | 2024-03-16 16:50:55 +0000 |
---|---|---|
committer | Alex Maestas <git@se30.xyz> | 2024-03-16 16:50:55 +0000 |
commit | 40b71400c5c49d58a1e36286317e350e42f25756 (patch) | |
tree | b41db9c95b459ba93f48ea0fd47df23a567bffcc /utils/uf2conv.py | |
parent | af18673e1aa53091880d829a6fa4d7e23a6b4381 (diff) | |
download | Sensor-Watch-40b71400c5c49d58a1e36286317e350e42f25756.tar.gz Sensor-Watch-40b71400c5c49d58a1e36286317e350e42f25756.tar.bz2 Sensor-Watch-40b71400c5c49d58a1e36286317e350e42f25756.zip |
uf2conv: argument to `re.split` should be a rawstring
Diffstat (limited to 'utils/uf2conv.py')
-rw-r--r-- | utils/uf2conv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/uf2conv.py b/utils/uf2conv.py index 849e6499..7263cba9 100644 --- a/utils/uf2conv.py +++ b/utils/uf2conv.py @@ -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: |