mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix(ppro): Path has to be converted to string
This commit is contained in:
parent
410cf641c9
commit
ecb8a2799a
1 changed files with 1 additions and 1 deletions
|
|
@ -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'})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue