Skip to content

Commit 8222d2b

Browse files
author
enryh
committed
🐛 do not overwrite _PATH
- otherwise bundled quarto is set twice if python env is selected
1 parent dbe96ed commit 8222d2b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gui/app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@
5656
# /.venv/lib/python3.12/site-packages/quarto_cli/bin
5757
# source activate .venv/bin/activate
5858
quarto_share_path = os.path.join(sys._MEIPASS, "quarto_cli", "share")
59-
_PATH = os.pathsep.join([quarto_bin_path, quarto_share_path, _PATH])
60-
os.environ["PATH"] = _PATH
59+
os.environ["PATH"] = os.pathsep.join([quarto_bin_path, quarto_share_path, _PATH])
6160
# This requires that the python version is the same as the one used to create the executable
6261
# in the Python environment the kernel is started from for quarto based reports
6362
# os.environ["PYTHONPATH"] = os.pathsep.join(

0 commit comments

Comments
 (0)