diff options
author | LASER-Yi <[email protected]> | 2021-03-25 23:23:18 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2021-03-25 23:23:18 +0800 |
commit | d0f82198eb835a0e0dfa9ebd87c5987a8bdabc5b (patch) | |
tree | 200bbdad0f947e001d168272da7847df58eb830d | |
parent | 8808c493e8dd24115cbd648e3c92c0dc4c6bb80a (diff) | |
download | bazarr-d0f82198eb835a0e0dfa9ebd87c5987a8bdabc5b.tar.gz bazarr-d0f82198eb835a0e0dfa9ebd87c5987a8bdabc5b.zip |
Fix a issue when requesting wanted movies
-rw-r--r-- | bazarr/api.py | 2 |
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) |