From ecb8a2799ac58599d33e2862c0e64f7173d0ed5e Mon Sep 17 00:00:00 2001 From: MIlan Kolar Date: Tue, 28 Apr 2020 14:47:24 +0100 Subject: [PATCH] fix(ppro): Path has to be converted to string --- pype/plugins/adobecommunicator/publish/collect_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/plugins/adobecommunicator/publish/collect_context.py b/pype/plugins/adobecommunicator/publish/collect_context.py index 86e8ae3fe8..7759fbd6df 100644 --- a/pype/plugins/adobecommunicator/publish/collect_context.py +++ b/pype/plugins/adobecommunicator/publish/collect_context.py @@ -67,7 +67,7 @@ class CollectContextDataFromAport(pyblish.api.ContextPlugin): # get current file current_file = json_data.get("currentFile", None) assert current_file, "No `currentFile` data in json file" - context.data["currentFile"] = Path(current_file).resolve() + context.data["currentFile"] = str(Path(current_file).resolve()) # get project data from avalon project_data = io.find_one({'type': 'project'})