Update client/ayon_core/lib/transcoding.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Roy Nieterau 2025-05-20 23:55:29 +02:00 committed by GitHub
parent 3248faff40
commit 204625b5c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -552,12 +552,11 @@ def _get_attributes_to_erase(
erase_attrs[attr_name] = reason
break
if logger is not None:
for attr_name, reason in erase_attrs.items():
logger.info(
f"Removed attribute \"{attr_name}\" from metadata"
f" because {reason}."
)
for attr_name, reason in erase_attrs.items():
logger.info(
f"Removed attribute \"{attr_name}\" from metadata"
f" because {reason}."
)
return list(erase_attrs.keys())