mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixed old repres to delete variable
This commit is contained in:
parent
12e95ef32c
commit
22e8c30146
1 changed files with 3 additions and 4 deletions
|
|
@ -120,10 +120,9 @@ class IntegrateMasterVersion(pyblish.api.InstancePlugin):
|
|||
old_repres_to_replace[repre_name_low] = (
|
||||
old_repres_by_name.pop(repre_name_low)
|
||||
)
|
||||
else:
|
||||
old_repres_to_delete[repre_name_low] = (
|
||||
old_repres_by_name.pop(repre_name_low)
|
||||
)
|
||||
|
||||
if old_repres_by_name:
|
||||
old_repres_to_delete = old_repres_by_name
|
||||
|
||||
archived_repres = list(io.find({
|
||||
# Check what is type of archived representation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue