From 9f4cf189c7f525f7690d095d20ad4f4f80cd7ae2 Mon Sep 17 00:00:00 2001 From: pluja Date: Mon, 27 Jul 2020 17:45:14 +0200 Subject: [PATCH] Fix error page call --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index d1f1289..53001de 100644 --- a/app/routes.py +++ b/app/routes.py @@ -74,7 +74,7 @@ def export(): if a: return send_from_directory('.', 'data_export.json', as_attachment=True) else: - return redirect(url_for('/error/405')) + return redirect(url_for('error/405')) def exportData(): twitterFollowing = current_user.following_list()