mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Use is_active for proper optional functionality
This commit is contained in:
parent
07e2be9f99
commit
95f828ba02
1 changed files with 3 additions and 0 deletions
|
|
@ -90,6 +90,9 @@ class IntegrateHeroVersion(
|
|||
# *but all other plugins must be sucessfully completed
|
||||
|
||||
def process(self, instance):
|
||||
if not self.is_active(instance.data):
|
||||
return
|
||||
|
||||
self.log.debug(
|
||||
"--- Integration of Hero version for product `{}` begins.".format(
|
||||
instance.data["productName"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue