From d0f82198eb835a0e0dfa9ebd87c5987a8bdabc5b Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Thu, 25 Mar 2021 23:23:18 +0800 Subject: [PATCH] Fix a issue when requesting wanted movies --- bazarr/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/api.py b/bazarr/api.py index 9daff3774..4d0f2575e 100644 --- a/bazarr/api.py +++ b/bazarr/api.py @@ -1489,7 +1489,7 @@ class MoviesWanted(Resource): postprocessMovie(item) count = database.execute("SELECT COUNT(*) as count FROM table_movies WHERE missing_subtitles != '[]'" + - get_exclusion_clause('series'), only_one=True)['count'] + get_exclusion_clause('movie'), only_one=True)['count'] return jsonify(data=data, total=count)