From d7181cf6a1d99b1c88b918e43882604d80f6d392 Mon Sep 17 00:00:00 2001 From: Kfir Hadas Date: Thu, 25 May 2017 22:19:42 +0300 Subject: [PATCH] PEP8 --- nyaa/routes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nyaa/routes.py b/nyaa/routes.py index 49f2224..8893567 100644 --- a/nyaa/routes.py +++ b/nyaa/routes.py @@ -664,7 +664,9 @@ def view_torrent(torrent_id): flask.flash('Comment successfully posted.', 'success') - return flask.redirect(flask.url_for('view_torrent', torrent_id=torrent_id, _anchor='com-'+str(torrent_count))) + return flask.redirect(flask.url_for('view_torrent', + torrent_id=torrent_id, + _anchor='com-' + str(torrent_count))) # Only allow owners and admins to edit torrents can_edit = flask.g.user and (flask.g.user is torrent.user or flask.g.user.is_moderator)