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:
Roy Nieterau 2025-07-23 11:46:52 +02:00 committed by GitHub
parent 8b8cff8ea5
commit ecd3538dfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,9 +34,6 @@ class CollectSceneLoadedVersions(pyblish.api.ContextPlugin):
if isinstance(host, ILoadHost):
containers = list(host.get_containers())
elif hasattr(host, "ls"):
# Backwards compatibility for legacy host implementations
containers = list(host.ls())
else:
host_name = host.__name__
self.log.warning(