OP-4504 - remove check for existence

For sequences source contains `%d` placeholder
This commit is contained in:
Petr Kalis 2022-12-15 16:37:45 +01:00
parent b6873a063e
commit e3866dff5a

View file

@ -31,7 +31,7 @@ class CollectSourceForSource(pyblish.api.InstancePlugin):
current_file = instance.data.get("currentFile")
source = instance.data.get("source")
source_file = current_file or source
if source_file and os.path.exists(source_file):
if source_file:
self.log.debug("Parsing paths for {}".format(source_file))
if not instance.data.get("originalBasename"):
instance.data["originalBasename"] = \