We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5304383 commit 50befc4Copy full SHA for 50befc4
tools/uf2conv.py
@@ -380,7 +380,7 @@ def error(msg):
380
proc_out = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
381
if proc_out.returncode == 0:
382
stdoutput = proc_out.stdout.decode("UTF-8")
383
- match = re.search(r'Mounted\s+.*\s+at\s+([^\.]*)', stdoutput)
+ match = re.search(r'Mounted\s+.*\s+at\s+([^\.\r\n]*)', stdoutput)
384
if match is None:
385
print("Warn: {} did not print mount point. Attempting to locate mounted drive in file system. StdOut={}".format(cmd[0], stdoutput))
386
drives = get_drives()
0 commit comments