From bd854fc7e177419036e5924039e43bd5ceed36db Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 28 Apr 2020 19:04:43 +0200 Subject: [PATCH] extract review has better check for sequence input --- pype/plugins/global/publish/extract_burnin.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pype/plugins/global/publish/extract_burnin.py b/pype/plugins/global/publish/extract_burnin.py index 9db8023cbd..b79cb15a69 100644 --- a/pype/plugins/global/publish/extract_burnin.py +++ b/pype/plugins/global/publish/extract_burnin.py @@ -375,7 +375,11 @@ class ExtractBurnin(pype.api.Extractor): Returns: None: This is processing method. """ - is_sequence = "sequence" in new_repre["tags"] + # TODO we should find better way to know if input is sequence + is_sequence = ( + "sequence" in new_repre["tags"] + and isinstance(new_repre["files"], (tuple, list)) + ) if is_sequence: input_filename = new_repre["sequence_file"] else: