fixed executable filename

This commit is contained in:
iLLiCiTiT 2021-01-29 15:53:00 +01:00
parent 04af95ac01
commit 3f9bc08765

View file

@ -150,7 +150,7 @@ def get_pype_execute_args():
pype_executable = os.environ["PYPE_EXECUTABLE"]
args = [pype_executable]
executable_filename = os.path.dirname(pype_executable)
executable_filename = os.path.basename(pype_executable)
if "python" in executable_filename.lower():
args.append(
os.path.join(os.environ["PYPE_ROOT"], "start.py")