mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
renamed ASAPUBLISH_INPATH environment to SAPUBLISH_INPATH
This commit is contained in:
parent
4d4226b129
commit
b5e0069049
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ class CollectContextDataSAPublish(pyblish.api.ContextPlugin):
|
|||
def process(self, context):
|
||||
# get json paths from os and load them
|
||||
io.install()
|
||||
json_path = os.environ.get("ASAPUBLISH_INPATH")
|
||||
json_path = os.environ.get("SAPUBLISH_INPATH")
|
||||
with open(json_path, "r") as f:
|
||||
in_data = json.load(f)
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ def publish(data, gui=True):
|
|||
]
|
||||
|
||||
os.environ["PYBLISH_HOSTS"] = "shell"
|
||||
os.environ["ASAPUBLISH_INPATH"] = json_data_path
|
||||
os.environ["SAPUBLISH_INPATH"] = json_data_path
|
||||
|
||||
if gui:
|
||||
av_publish.show()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue