From 361eb3564e378bc8c40974f00e5e44a8fd76451a Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 16 Oct 2019 11:28:47 +0200 Subject: [PATCH] added fix when extension has dot --- pype/plugins/global/publish/extract_review.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pype/plugins/global/publish/extract_review.py b/pype/plugins/global/publish/extract_review.py index 903f69c000..1fdf6af811 100644 --- a/pype/plugins/global/publish/extract_review.py +++ b/pype/plugins/global/publish/extract_review.py @@ -40,7 +40,9 @@ class ExtractReview(pyblish.api.InstancePlugin): # filter out mov and img sequences representations_new = representations[:] for repre in representations: - if repre['ext'] in plugin_attrs["ext_filter"]: + # remove dot if extension has + repre_ext = repre['ext'].replace(".", "") + if repre_ext not in plugin_attrs["ext_filter"]: tags = repre.get("tags", []) self.log.info("Try repre: {}".format(repre))