From eabfc473acc0297ec8c2b7af355acea607b98f10 Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Mon, 23 Aug 2021 10:48:54 +0200 Subject: [PATCH] Hound --- .../webpublisher/plugins/publish/collect_published_files.py | 5 +++-- .../webpublisher/plugins/publish/integrate_context_to_log.py | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openpype/hosts/webpublisher/plugins/publish/collect_published_files.py b/openpype/hosts/webpublisher/plugins/publish/collect_published_files.py index 8861190003..59c315861e 100644 --- a/openpype/hosts/webpublisher/plugins/publish/collect_published_files.py +++ b/openpype/hosts/webpublisher/plugins/publish/collect_published_files.py @@ -96,10 +96,11 @@ class CollectPublishedFiles(pyblish.api.ContextPlugin): instance.data["stagingDir"] = task_dir instance.data["source"] = "webpublisher" - instance.data["ctx_path"] = ctx["path"] # to store for logging + # to store logging info into DB openpype.webpublishes + instance.data["ctx_path"] = ctx["path"] instance.data["batch_id"] = task_data["batch"] - + # to convert from email provided into Ftrack username instance.data["user_email"] = task_data["user"] if is_sequence: diff --git a/openpype/hosts/webpublisher/plugins/publish/integrate_context_to_log.py b/openpype/hosts/webpublisher/plugins/publish/integrate_context_to_log.py index 1dd57ffff9..419c065e16 100644 --- a/openpype/hosts/webpublisher/plugins/publish/integrate_context_to_log.py +++ b/openpype/hosts/webpublisher/plugins/publish/integrate_context_to_log.py @@ -1,6 +1,5 @@ import os -from avalon import io import pyblish.api from openpype.lib import OpenPypeMongoConnection @@ -36,4 +35,4 @@ class IntegrateContextToLog(pyblish.api.ContextPlugin): }} ) - return \ No newline at end of file + return