diff options
author | atax1a <121772181+theAlexes@users.noreply.github.com> | 2024-03-31 00:40:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-31 00:40:05 +0000 |
commit | d2b5ed7155419d8528be9f52bf76754bdfbbf44c (patch) | |
tree | f47deda5f7f51a871ba319e51bcc0581642a1787 | |
parent | 1e29fe85e5843de76ba9aaed9c472bdff9eb62eb (diff) | |
parent | 40b71400c5c49d58a1e36286317e350e42f25756 (diff) | |
download | Sensor-Watch-main.tar.gz Sensor-Watch-main.tar.bz2 Sensor-Watch-main.zip |
Merge pull request #383 from theAlexes/theAlexes/fix-uf2convmain
uf2conv: argument to `re.split` should be a rawstring
-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: |