mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
rename folder
This commit is contained in:
parent
483c930a68
commit
8432e94615
1511 changed files with 0 additions and 0 deletions
18
openpype/scripts/slates/__main__.py
Normal file
18
openpype/scripts/slates/__main__.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import sys
|
||||
import json
|
||||
from slate_base import api
|
||||
|
||||
|
||||
def main(in_args=None):
|
||||
data_arg = in_args[-1]
|
||||
in_data = json.loads(data_arg)
|
||||
api.create_slates(
|
||||
in_data["fill_data"],
|
||||
in_data.get("slate_name"),
|
||||
in_data.get("slate_data"),
|
||||
in_data.get("data_output_json")
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(sys.argv)
|
||||
Loading…
Add table
Add a link
Reference in a new issue