mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-4928 - fix wrong usage of legacy_io
Import was removed, but usage stayed. Now it should be replaced from context
This commit is contained in:
parent
bc161ed5af
commit
e93c5d0d40
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ class ImageCreator(Creator):
|
|||
instance_data.pop("uuid")
|
||||
|
||||
if not instance_data.get("task"):
|
||||
instance_data["task"] = legacy_io.Session.get("AVALON_TASK")
|
||||
instance_data["task"] = self.create_context.get_current_task_name()
|
||||
|
||||
if not instance_data.get("variant"):
|
||||
instance_data["variant"] = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue