mirror of https://github.com/ArduPilot/ardupilot
Tools: update WSL2 use in uploader.py
This commit is contained in:
parent
da4fee5a9a
commit
5503ac204e
|
@ -103,7 +103,7 @@ class upload_fw(Task.Task):
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue