mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-14 18:04:43 +08:00
Bug when trying to remove non-existing movies from Bazarr #104
This commit is contained in:
parent
2ea766a67c
commit
1071f2209e
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue