1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-03-14 16:08:49 +00:00

Fixed movies indexing issue

The removed_movie variable is not an actual movie object but simply a tmdbid, so it can't be indexed.
This commit is contained in:
JayZed 2024-01-29 22:54:12 -05:00 committed by GitHub
parent 938f6df386
commit e6b9b327f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,7 +135,7 @@ def update_movies(send_event=True):
logging.error(f"BAZARR cannot delete movies because of {e}")
else:
for removed_movie in movies_to_delete:
movies_deleted.append(removed_movie['title'])
movies_deleted.append(removed_movie)
if send_event:
event_stream(type='movie', action='delete', payload=removed_movie)