mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
make sure legacy io is installed
This commit is contained in:
parent
477acd1d5e
commit
9ce6ea6f36
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,10 @@ class CollectCurrentContext(pyblish.api.ContextPlugin):
|
|||
label = "Collect Current context"
|
||||
|
||||
def process(self, context):
|
||||
# Set project name in context data
|
||||
# Make sure 'legacy_io' is intalled
|
||||
legacy_io.install()
|
||||
|
||||
# Check if values are already set
|
||||
project_name = context.data.get("projectName")
|
||||
asset_name = context.data.get("asset")
|
||||
task_name = context.data.get("task")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue