mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Validate if any file sequences has been collected.
This commit is contained in:
parent
534ba6451a
commit
225e809673
1 changed files with 12 additions and 0 deletions
12
pype/plugins/global/publish/validate_filesequences.py
Normal file
12
pype/plugins/global/publish/validate_filesequences.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import pyblish.api
|
||||
|
||||
|
||||
class ValidateFileSequences(pyblish.api.ContextPlugin):
|
||||
"""Validates whether any file sequences were collected."""
|
||||
|
||||
order = pyblish.api.ValidatorOrder
|
||||
targets = ["filesequence"]
|
||||
label = "Validate File Sequences"
|
||||
|
||||
def process(self, context):
|
||||
assert context, "Nothing collected."
|
||||
Loading…
Add table
Add a link
Reference in a new issue