summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJayZed <[email protected]>2024-01-29 22:54:12 -0500
committerGitHub <[email protected]>2024-01-29 22:54:12 -0500
commite6b9b327f2723f3d2cc24c9ef0acb256e970f2da (patch)
treee472ad00380593a4242ed5ddec9335200345e05a
parent938f6df386c0f50568f7a6c04ed4ae58e440af04 (diff)
downloadbazarr-e6b9b327f2723f3d2cc24c9ef0acb256e970f2da.tar.gz
bazarr-e6b9b327f2723f3d2cc24c9ef0acb256e970f2da.zip
Fixed movies indexing issuev1.4.1-beta.21
The removed_movie variable is not an actual movie object but simply a tmdbid, so it can't be indexed.
-rw-r--r--bazarr/radarr/sync/movies.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/radarr/sync/movies.py b/bazarr/radarr/sync/movies.py
index 6227a478c..3c184857b 100644
--- a/bazarr/radarr/sync/movies.py
+++ b/bazarr/radarr/sync/movies.py
@@ -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)