Merge pull request #1381 from BigRoy/enhancement/do_not_use_deprecated_log_warn

Integrate Input Links: Do not use deprecated `Logger.warn`, use `Logger.warning` instead
This commit is contained in:
Jakub Trllo 2025-07-23 11:44:20 +02:00 committed by GitHub
commit e33b695758
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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