Skip to content

Commit 93bc300

Browse files
committed
expands path variable
1 parent 849f475 commit 93bc300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/esp32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ def compile(): # NOQA
924924
if 'To flash, run:' in output:
925925
output = output.rsplit('To flash, run:')[-1].strip()
926926

927-
espressif_path = "~/.espressif"
927+
espressif_path = os.path.expanduser('~/.espressif')
928928
python_path = f'{espressif_path}/python_env/idf5.2_py3.10_env/bin'
929929
esptool_path = f'{python_path}/esptool.py'
930930
python_path += '/python'

0 commit comments

Comments
 (0)