aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-19 16:50:53 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-19 16:50:53 +0200
commitf2160e237ffac3ad85fe5b5a7157ba06416f0df8 (patch)
treedd225e9dafd26a0705fd4d54fe879766c6fa163e /pyaggr3g470r
parentFixed bug. (diff)
downloadnewspipe-f2160e237ffac3ad85fe5b5a7157ba06416f0df8.tar.gz
newspipe-f2160e237ffac3ad85fe5b5a7157ba06416f0df8.tar.bz2
newspipe-f2160e237ffac3ad85fe5b5a7157ba06416f0df8.zip
Fixed bug.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 01d91fa5..d23a7693 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -91,7 +91,7 @@ def load_user(email):
@app.errorhandler(401)
def authentication_required(e):
flash('Authentication required.', 'info')
- return redirect(url_for('login')), 401
+ return redirect(url_for('login'))
@app.errorhandler(403)
def authentication_failed(e):
bgstack15