Skip to content

Commit d552b0f

Browse files
committed
use explicit addon name instead of host name
1 parent 7f4056e commit d552b0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/ayon_fusion/hooks/pre_fusion_launch_menu_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FusionLaunchMenuHook(PreLaunchHook):
1010

1111
def execute(self):
1212
# Prelaunch hook is optional
13-
settings = self.data["project_settings"][self.host_name]
13+
settings = self.data["project_settings"]["fusion"]
1414
if not settings["hooks"]["FusionLaunchMenuHook"]["enabled"]:
1515
return
1616

client/ayon_fusion/hooks/pre_pyside_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class InstallPySideToFusion(PreLaunchHook):
2222
def execute(self):
2323
# Prelaunch hook is not crucial
2424
try:
25-
settings = self.data["project_settings"][self.host_name]
25+
settings = self.data["project_settings"]["fusion"]
2626
if not settings["hooks"]["InstallPySideToFusion"]["enabled"]:
2727
return
2828
self.inner_execute()

0 commit comments

Comments
 (0)