diff --git a/pype/plugins/standalonepublish/publish/collect_context.py b/pype/plugins/standalonepublish/publish/collect_context.py index d063bcf2dd..26411dd132 100644 --- a/pype/plugins/standalonepublish/publish/collect_context.py +++ b/pype/plugins/standalonepublish/publish/collect_context.py @@ -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) diff --git a/pype/standalonepublish/publish.py b/pype/standalonepublish/publish.py index 0e811aae52..db41f68eb4 100644 --- a/pype/standalonepublish/publish.py +++ b/pype/standalonepublish/publish.py @@ -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()