1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-24 08:43:01 +00:00

Fix a issue when requesting wanted movies

This commit is contained in:
LASER-Yi 2021-03-25 23:23:18 +08:00
parent 8808c493e8
commit d0f82198eb

View file

@ -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)