mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
Removed replace function as regex formating has been fixed properly
This commit is contained in:
parent
be8fa78195
commit
abb032cbd5
1 changed files with 0 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue