mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
fixed executable filename
This commit is contained in:
parent
04af95ac01
commit
3f9bc08765
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue