1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 09:00:00 +00:00

added success message after torrent edit

This commit is contained in:
aldacron 2017-05-17 00:56:51 -07:00
parent f5551dd1e5
commit 5a1e44faff

View file

@ -536,6 +536,9 @@ def edit_torrent(torrent_id):
db.session.commit()
flask.flash(flask.Markup(
'Torrent has been successfully edited! Changes might take a few minutes to show up.'), 'info')
return flask.redirect('/view/' + str(torrent_id))
else:
# Setup form with pre-formatted form.