From 601700e1caae22fd81e90207a3c14b68f95ceecf Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 11 Nov 2020 17:00:41 +0100 Subject: [PATCH] added warning message --- pype/plugins/tvpaint/publish/extract_sequence.py | 6 ++++++ 1 file changed, 6 insertions(+) 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)