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 Nov 25, 2024
1 parent 4b040ee commit fb287e4
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 not where_python or "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 fb287e4

Please sign in to comment.