Validate if any file sequences has been collected.

This commit is contained in:
Toke Jepsen 2019-07-31 18:41:51 +01:00
parent 534ba6451a
commit 225e809673

View 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."