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
1 changed files with 1 additions and 1 deletions

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)