mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-21 01:05:30 +00:00
Fix bulk logo cleanup.
This commit is contained in:
parent
0e52117e78
commit
fd01d1b6af
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue