Commit 4853357b authored by Lukáš Lalinský's avatar Lukáš Lalinský

Fix redirect in track_mbid_gid (ACOUSTID-WEB-Z)

parent 5bf85366
Pipeline #20588 passed with stages
in 6 minutes and 38 seconds
......@@ -194,7 +194,7 @@ def toggle_track_mbid():
return redirect(url_for('general.index'))
id, current_state = rows[0]
if state == current_state:
return redirect(url_for('.track', track_id=track_id))
return redirect(url_for('.track', track_id_or_gid=track_id))
if request.form.get('submit'):
note = request.values.get('note')
update_stmt = schema.track_mbid.update().where( == id).values(disabled=state)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment