mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix: added check for optional behaviour
This commit is contained in:
parent
437246c090
commit
289eb1f4c8
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ class ValidateSaverOutputExtension(
|
|||
actions = [SelectInvalidAction, RepairAction]
|
||||
|
||||
def process(self, instance):
|
||||
if not self.is_active(instance.data):
|
||||
return
|
||||
|
||||
saver = instance.data["tool"]
|
||||
current_extension = get_file_extension(saver.Clip[1])
|
||||
expected_extension = instance.data["image_format"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue