Tools: remove warning for WSL2 --upload on python.exe 3.10.x, it works fine

This commit is contained in:
Tom Pittenger 2022-10-06 14:32:27 -07:00 committed by Tom Pittenger
parent fdff3d57ac
commit 1944894b76
1 changed files with 0 additions and 4 deletions

View File

@ -99,10 +99,6 @@ class upload_fw(Task.Task):
if not where_python or not "\Python\Python" in where_python or "python.exe" not in where_python:
print(self.get_full_wsl2_error_msg("Windows python.exe not found"))
return False
python_version = subprocess.check_output('python.exe --version', shell=True, text=True)
if "3.10." in python_version:
print(self.get_full_wsl2_error_msg("Your Windows %s version is not compatible" % python_version.strip()))
return False
return True
def get_full_wsl2_error_msg(self, error_msg):