Skip to content

Commit

Permalink
fix(tools): Fixed Python path case sensitive error on Windows
Browse files Browse the repository at this point in the history
Closes #12779
Closes #12780
  • Loading branch information
dyarkovoy authored and espressif-bot committed Dec 15, 2023
1 parent 936cab8 commit 1cc04d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/idf_py_actions/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def ensure_build_directory(args: 'PropertyDict', prog_name: str, always_run_cmak

try:
python = cache['PYTHON']
if python != sys.executable:
if os.path.normcase(python) != os.path.normcase(sys.executable):
raise FatalError(
"'{}' is currently active in the environment while the project was configured with '{}'. "
"Run '{} fullclean' to start again.".format(sys.executable, python, prog_name))
Expand Down

0 comments on commit 1cc04d0

Please sign in to comment.