fix(global): fixed regex for publishing sequence

This commit is contained in:
antirotor 2019-06-20 21:30:34 +02:00
parent bddda5a9a0
commit 0f4e82a177
No known key found for this signature in database
GPG key ID: 8A29C663C672C2B7

View file

@ -251,7 +251,7 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
# This assumes the output files start with subset name and ends with
# a file extension. The "ext" key includes the dot with the extension.
if "ext" in instance.data:
ext = re.escape(instance.data["ext"])
ext = r"\." + re.escape(instance.data["ext"])
else:
ext = r"\.\D+"