fix of python detection

This commit is contained in:
2026-02-19 18:26:07 +01:00
parent 02f93df1d5
commit b23e2b8d89
2 changed files with 13 additions and 3 deletions

View File

@@ -67,9 +67,9 @@ def _sys_python_bin():
sys_python_bin = func(e)
if sys_python_bin == "":
continue
if not _is_python3(sys_python_bin):
sys_python_bin = ""
continue
if _is_python3(sys_python_bin):
break
sys_python_bin = ""
return sys_python_bin