mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merged in tokejepsen/pype/bugfix/publish_filesequence (pull request #211)
Update flags Approved-by: Milan Kolar <milan@orbi.tools>
This commit is contained in:
commit
ee63b43f72
1 changed files with 8 additions and 3 deletions
|
|
@ -51,11 +51,16 @@ def __main__():
|
|||
elif platform.system().lower() == "windows":
|
||||
pype_command = "pype.bat"
|
||||
|
||||
args = [os.path.join(pype_root, pype_command),
|
||||
"--node", "--publish", "--paths", " ".join(paths)]
|
||||
args = [
|
||||
os.path.join(pype_root, pype_command),
|
||||
"publish",
|
||||
" ".join(paths)
|
||||
]
|
||||
|
||||
print("Pype command: {}".format(" ".join(args)))
|
||||
subprocess.call(args, shell=True)
|
||||
exit_code = subprocess.call(args, shell=True)
|
||||
if exit_code != 0:
|
||||
raise ValueError("Publishing failed.")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue