From 5164481b367bcfb1a7fc768d5b83a3f7b896ac0b Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Wed, 25 Aug 2021 10:57:22 +0200 Subject: [PATCH] Webpublisher - introduced FTRACK_BOT_API_USER --- openpype/hosts/webpublisher/plugins/publish/collect_username.py | 2 +- website/docs/admin_webserver_for_webpublisher.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openpype/hosts/webpublisher/plugins/publish/collect_username.py b/openpype/hosts/webpublisher/plugins/publish/collect_username.py index 0c2c6310f4..7a303a1608 100644 --- a/openpype/hosts/webpublisher/plugins/publish/collect_username.py +++ b/openpype/hosts/webpublisher/plugins/publish/collect_username.py @@ -31,7 +31,7 @@ class CollectUsername(pyblish.api.ContextPlugin): _context = None def process(self, context): - os.environ["FTRACK_API_USER"] = "pype.club" + os.environ["FTRACK_API_USER"] = os.environ["FTRACK_BOT_API_USER"] os.environ["FTRACK_API_KEY"] = os.environ["FTRACK_BOT_API_KEY"] self.log.info("CollectUsername") for instance in context: diff --git a/website/docs/admin_webserver_for_webpublisher.md b/website/docs/admin_webserver_for_webpublisher.md index 2b23033595..dced825bdc 100644 --- a/website/docs/admin_webserver_for_webpublisher.md +++ b/website/docs/admin_webserver_for_webpublisher.md @@ -41,6 +41,7 @@ Deploy OP build distribution (Openpype Igniter) on an OS of your choice. #!/usr/bin/env bash export OPENPYPE_DEBUG=3 export WEBSERVER_HOST_IP=localhost +export FTRACK_BOT_API_USER=YOUR_API_USER export FTRACK_BOT_API_KEY=YOUR_API_KEY export PYTHONDONTWRITEBYTECODE=1 export OPENPYPE_MONGO=YOUR_MONGODB_CONNECTION