0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-19 16:16:13 +00:00

🔨 Fix LPC1768 autodetect path on Linux (#24773)

This commit is contained in:
Renaud11232 2022-09-23 07:20:44 +02:00 committed by GitHub
parent 4a2b08f883
commit 7d08ab4fb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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