mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Update client/ayon_core/plugins/publish/collect_scene_loaded_versions.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
8b8cff8ea5
commit
ecd3538dfd
1 changed files with 0 additions and 3 deletions
|
|
@ -34,9 +34,6 @@ class CollectSceneLoadedVersions(pyblish.api.ContextPlugin):
|
||||||
|
|
||||||
if isinstance(host, ILoadHost):
|
if isinstance(host, ILoadHost):
|
||||||
containers = list(host.get_containers())
|
containers = list(host.get_containers())
|
||||||
elif hasattr(host, "ls"):
|
|
||||||
# Backwards compatibility for legacy host implementations
|
|
||||||
containers = list(host.ls())
|
|
||||||
else:
|
else:
|
||||||
host_name = host.__name__
|
host_name = host.__name__
|
||||||
self.log.warning(
|
self.log.warning(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue