summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLASER-Yi <[email protected]>2021-03-25 23:23:18 +0800
committerLASER-Yi <[email protected]>2021-03-25 23:23:18 +0800
commitd0f82198eb835a0e0dfa9ebd87c5987a8bdabc5b (patch)
tree200bbdad0f947e001d168272da7847df58eb830d
parent8808c493e8dd24115cbd648e3c92c0dc4c6bb80a (diff)
downloadbazarr-d0f82198eb835a0e0dfa9ebd87c5987a8bdabc5b.tar.gz
bazarr-d0f82198eb835a0e0dfa9ebd87c5987a8bdabc5b.zip
Fix a issue when requesting wanted movies
-rw-r--r--bazarr/api.py2
1 files changed, 1 insertions, 1 deletions
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)