mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
don't remove the files but add to cleanup data
This commit is contained in:
parent
62d7bcc0d0
commit
54b0e2ec9c
1 changed files with 2 additions and 1 deletions
|
|
@ -85,8 +85,9 @@ class ExtractConvertToEXR(pyblish.api.InstancePlugin):
|
|||
|
||||
if self.replace_pngs:
|
||||
instance.data["representations"].remove(repre)
|
||||
|
||||
for filepath in src_filepaths:
|
||||
os.remove(filepath)
|
||||
instance.context.data["cleanupFullPaths"].append(filepath)
|
||||
|
||||
instance.data["representations"].extend(new_repres)
|
||||
self.log.info(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue