Fixed movies indexing issue

The removed_movie variable is not an actual movie object but simply a tmdbid, so it can't be indexed.
pull/2373/head v1.4.1-beta.21
JayZed 3 months ago committed by GitHub
parent 938f6df386
commit e6b9b327f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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)

Loading…
Cancel
Save