From d9967f5395e3f223bd2cf99249f2f6058d907620 Mon Sep 17 00:00:00 2001 From: Renaud11232 Date: Fri, 23 Sep 2022 07:20:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Fix=20LPC1768=20autodetect=20pat?= =?UTF-8?q?h=20on=20Linux=20(#24773)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/HAL/LPC1768/upload_extra_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/HAL/LPC1768/upload_extra_script.py b/Marlin/src/HAL/LPC1768/upload_extra_script.py index 52c9a8e2ec..efd46fdd63 100755 --- a/Marlin/src/HAL/LPC1768/upload_extra_script.py +++ b/Marlin/src/HAL/LPC1768/upload_extra_script.py @@ -73,7 +73,7 @@ if pioutil.is_pio_build(): # import getpass user = getpass.getuser() - mpath = Path('media', user) + mpath = Path('/media', user) drives = [ x for x in mpath.iterdir() if x.is_dir() ] if target_drive in drives: # If target drive is found, use it. target_drive_found = True