From 1071f2209e4af9dbcc24be317bceadce39507f5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Thu, 12 Jul 2018 12:41:32 -0400 Subject: [PATCH] Bug when trying to remove non-existing movies from Bazarr #104 --- get_movies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_movies.py b/get_movies.py index 419992f97..7ebafa5b5 100644 --- a/get_movies.py +++ b/get_movies.py @@ -93,7 +93,7 @@ def update_movies(): removed_movies = list(set(current_movies_db_list) - set(current_movies_radarr)) for removed_movie in removed_movies: - c.execute('DELETE FROM table_movies WHERE radarrId = ?', (removed_movie,)) + c.execute('DELETE FROM table_movies WHERE tmdbId = ?', (removed_movie,)) db.commit() for added_movie in added_movies: