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
1 changed files with 1 additions and 1 deletions

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)