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:
parent
938f6df386
commit
e6b9b327f2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue