mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix extract look file check
This commit is contained in:
parent
3b6eec2b5b
commit
ae657498e3
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ class ExtractLook(pype.api.Extractor):
|
|||
if existing and not force:
|
||||
self.log.info("Found hash in database, preparing hardlink..")
|
||||
source = next((p for p in existing if os.path.exists(p)), None)
|
||||
if filepath:
|
||||
if source:
|
||||
return source, HARDLINK, texture_hash
|
||||
else:
|
||||
self.log.warning(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue