mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge pull request #786 from pypeclub/bugfix/app_context_missing_variable_fix
AppLaunchContext variable fix
This commit is contained in:
commit
ca2477c9bc
1 changed files with 2 additions and 2 deletions
|
|
@ -707,7 +707,7 @@ class ApplicationLaunchContext:
|
|||
# Execute prelaunch hooks
|
||||
for prelaunch_hook in self.prelaunch_hooks:
|
||||
self.log.debug("Executing prelaunch hook: {}".format(
|
||||
str(prelaunch_hook)
|
||||
str(prelaunch_hook.__class__.__name__)
|
||||
))
|
||||
prelaunch_hook.execute()
|
||||
|
||||
|
|
@ -726,7 +726,7 @@ class ApplicationLaunchContext:
|
|||
# Process post launch hooks
|
||||
for postlaunch_hook in self.postlaunch_hooks:
|
||||
self.log.debug("Executing postlaunch hook: {}".format(
|
||||
str(prelaunch_hook)
|
||||
str(postlaunch_hook.__class__.__name__)
|
||||
))
|
||||
|
||||
# TODO how to handle errors?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue