mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #1332 from ynput/bugfix/no-context-for-global-host-data-prehook
Handles missing folder/task data safely
This commit is contained in:
commit
0d40d522d0
1 changed files with 2 additions and 2 deletions
|
|
@ -32,8 +32,8 @@ class GlobalHostDataHook(PreLaunchHook):
|
|||
"app": app,
|
||||
|
||||
"project_entity": self.data["project_entity"],
|
||||
"folder_entity": self.data["folder_entity"],
|
||||
"task_entity": self.data["task_entity"],
|
||||
"folder_entity": self.data.get("folder_entity"),
|
||||
"task_entity": self.data.get("task_entity"),
|
||||
|
||||
"anatomy": self.data["anatomy"],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue