diff options
| author | Christian Clauss <cclauss@me.com> | 2023-03-10 06:28:44 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-05-02 11:55:02 +1000 |
| commit | 8f8bd981641e0988b9ed3276c8f2435645269b3f (patch) | |
| tree | 05bd92798fcf6ea91f02811b4a38f2f4f8737932 /tools/uf2conv.py | |
| parent | cda292935dca9df25019168d91b211ad68e2b054 (diff) | |
all: Fix strings with backslash by using raw string literals.
Diffstat (limited to 'tools/uf2conv.py')
| -rw-r--r-- | tools/uf2conv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/uf2conv.py b/tools/uf2conv.py index ef3e48144..b66e52876 100644 --- a/tools/uf2conv.py +++ b/tools/uf2conv.py @@ -271,7 +271,7 @@ def get_drives(): ] ) 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: |
