mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-03 01:14:54 +01:00
OP-2766 - fix wrongly used functions
This commit is contained in:
parent
6fde211014
commit
bdc3a05c4d
1 changed files with 3 additions and 3 deletions
|
|
@ -179,10 +179,10 @@ def remove_instance(instance):
|
|||
stub.remove_instance(inst_id)
|
||||
|
||||
if instance.get("members"):
|
||||
item = stub.get_item(instance["members"][0])
|
||||
item = stub.get_layer(instance["members"][0])
|
||||
if item:
|
||||
stub.rename_item(item.id,
|
||||
item.name.replace(stub.PUBLISH_ICON, ''))
|
||||
stub.rename_layer(item.id,
|
||||
item.name.replace(stub.PUBLISH_ICON, ''))
|
||||
|
||||
|
||||
def _get_stub():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue