Do not use deprecated Logger.warn, use Logger.warning instead

This commit is contained in:
Roy Nieterau 2025-07-23 11:39:08 +02:00
parent 45c042cf8d
commit 6def9655f0

View file

@ -105,7 +105,7 @@ class IntegrateInputLinksAYON(pyblish.api.ContextPlugin):
created links by its type created links by its type
""" """
if workfile_instance is None: if workfile_instance is None:
self.log.warn("No workfile in this publish session.") self.log.warning("No workfile in this publish session.")
return return
workfile_version_id = workfile_instance.data["versionEntity"]["id"] workfile_version_id = workfile_instance.data["versionEntity"]["id"]