Pass skip_failures=True from frontend button.

This commit is contained in:
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

View file

@ -109,7 +109,7 @@ def post_refresh_channel(channel_id):
def post_refresh_all_channels():
force = request.form.get('force', False)
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({})
@site.route('/channel/<channel_id>/set_automark', methods=['POST'])