Pass skip_failures=True from frontend button.

master
voussoir 2021-04-21 21:31:03 -07:00
parent 991bafb46e
commit 8a6f33851e
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ def post_refresh_channel(channel_id):
def post_refresh_all_channels(): def post_refresh_all_channels():
force = request.form.get('force', False) force = request.form.get('force', False)
force = ycdl.helpers.truthystring(force) force = ycdl.helpers.truthystring(force)
common.ycdldb.refresh_all_channels(force=force) common.ycdldb.refresh_all_channels(force=force, skip_failures=True)
return jsonify.make_json_response({}) return jsonify.make_json_response({})
@site.route('/channel/<channel_id>/set_automark', methods=['POST']) @site.route('/channel/<channel_id>/set_automark', methods=['POST'])