Skip to content

Commit

Permalink
🔨 Fix LPC1768 autodetect path on Linux (#24773)
Browse files Browse the repository at this point in the history
  • Loading branch information
Renaud11232 authored Sep 23, 2022
1 parent 4a2b08f commit 7d08ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/HAL/LPC1768/upload_extra_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def before_upload(source, target, env):
#
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
Expand Down

0 comments on commit 7d08ab4

Please sign in to comment.