added success message after torrent edit

This commit is contained in:
aldacron 2017-05-17 00:56:51 -07:00
parent f5551dd1e5
commit 5a1e44faff
1 changed files with 3 additions and 0 deletions

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.