Skip to content

Commit

Permalink
Tools: update WSL2 use in uploader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed Dec 2, 2024
1 parent da4fee5 commit 5503ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/ardupilotwaf/chibios.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def wsl2_prereq_checks(self):
except subprocess.CalledProcessError:
#if where.exe can't find the file it returns a non-zero result which throws this exception
where_python = ""
if not where_python or "\Python\Python" not in where_python or "python.exe" not in where_python:
if "python.exe" not in where_python:
print(self.get_full_wsl2_error_msg("Windows python.exe not found"))
return False
return True
Expand Down

0 comments on commit 5503ac2

Please sign in to comment.