renamed ASAPUBLISH_INPATH environment to SAPUBLISH_INPATH

This commit is contained in:
Jakub Trllo 2019-05-02 15:58:34 +02:00
parent 4d4226b129
commit b5e0069049
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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()