Update client/ayon_core/plugins/load/delete_old_versions.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Kayla Man 2024-04-09 18:52:34 +08:00 committed by GitHub
parent c8f4f3681a
commit cf5d7d9a7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -236,7 +236,7 @@ class DeleteOldVersions(load.ProductLoaderPlugin):
# Filter already deleted versions
for version in versions:
if version["active"] or "deleted" in version["tags"]:
if "deleted" in version["tags"]:
continue
msg = "Folder: \"{}\" | Product: \"{}\" | Version: \"{}\"".format(
folder_entity["path"],