From abb032cbd515e3a69bb1050e93b0a7fbf8d32b01 Mon Sep 17 00:00:00 2001 From: aardschok Date: Tue, 20 Feb 2018 17:07:36 +0100 Subject: [PATCH] Removed replace function as regex formating has been fixed properly --- colorbleed/plugins/publish/collect_filesequences.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/colorbleed/plugins/publish/collect_filesequences.py b/colorbleed/plugins/publish/collect_filesequences.py index a73d053bdf..c572704415 100644 --- a/colorbleed/plugins/publish/collect_filesequences.py +++ b/colorbleed/plugins/publish/collect_filesequences.py @@ -127,11 +127,8 @@ class CollectFileSequences(pyblish.api.ContextPlugin): root = path self.log.info("Collecting: {}".format(root)) - regex = data.get("regex") if regex: - # ensure regex string is proper, json adds double slashes - regex = regex.replace("\\_", "_") self.log.info("Decoded regex to: {}".format(regex)) collections = collect(root=root,