From 69b74856122f32b16d9336e972a7ec4904f9f7df Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 4 Dec 2020 17:01:09 +0100 Subject: [PATCH] use `postlaunch_hook` instead of `prelaunch_hook` and use their classes names instead of their "representation" string --- pype/lib/applications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pype/lib/applications.py b/pype/lib/applications.py index bee51d0570..70b33d6edf 100644 --- a/pype/lib/applications.py +++ b/pype/lib/applications.py @@ -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?