mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
hound(hiero)
This commit is contained in:
parent
7d78f97192
commit
863cea4aa7
1 changed files with 2 additions and 2 deletions
|
|
@ -158,7 +158,6 @@ class CollectReview(api.InstancePlugin):
|
|||
self.log.debug("Added representation: {}".format(representation))
|
||||
|
||||
def create_thumbnail(self, instance):
|
||||
is_sequence = instance.data["isSequence"]
|
||||
item = instance.data["item"]
|
||||
|
||||
source_path = instance.data["sourcePath"]
|
||||
|
|
@ -245,7 +244,8 @@ class CollectReview(api.InstancePlugin):
|
|||
string: any matching sequence patern
|
||||
int: padding of sequnce numbering
|
||||
"""
|
||||
foundall = re.findall(r"(#+)|(%\d+d)|(?<=[^a-zA-Z0-9])(\d+)(?=\.\w+$)", file)
|
||||
foundall = re.findall(
|
||||
r"(#+)|(%\d+d)|(?<=[^a-zA-Z0-9])(\d+)(?=\.\w+$)", file)
|
||||
if foundall:
|
||||
found = sorted(list(set(foundall[0])))[-1]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue