Pass skip_failures=True from frontend button.
This commit is contained in:
parent
991bafb46e
commit
8a6f33851e
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||||
|
|
Loading…
Reference in a new issue