From fd01d1b6af1a0891c637bf43aeee14c0316c6419 Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Tue, 26 Aug 2025 14:59:05 -0500 Subject: [PATCH] Fix bulk logo cleanup. --- apps/channels/api_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/channels/api_views.py b/apps/channels/api_views.py index 17bcccc7..e96f4d2a 100644 --- a/apps/channels/api_views.py +++ b/apps/channels/api_views.py @@ -1229,12 +1229,12 @@ class CleanupUnusedLogosAPIView(APIView): # Add VOD conditions if models are available try: - filter_conditions &= Q(movie_set__isnull=True) + filter_conditions &= Q(movie__isnull=True) except: pass try: - filter_conditions &= Q(series_set__isnull=True) + filter_conditions &= Q(series__isnull=True) except: pass