diff --git a/pype/plugins/tvpaint/publish/extract_sequence.py b/pype/plugins/tvpaint/publish/extract_sequence.py index 003ab673d2..906c183b90 100644 --- a/pype/plugins/tvpaint/publish/extract_sequence.py +++ b/pype/plugins/tvpaint/publish/extract_sequence.py @@ -318,6 +318,12 @@ class ExtractSequence(pyblish.api.Extractor): previous_frame_filepath = filepaths_by_frame[frame] continue + elif previous_frame_filepath is None: + self.log.warning( + "No frames to fill. Seems like nothing was exported." + ) + break + if output_dir is None: output_dir = os.path.dirname(previous_frame_filepath)