From cf0ed05816e4bc5263c8975ceeae271b28d8e1fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20S=C3=A1=20Couto?= Date: Fri, 3 Jul 2020 12:33:54 +0200 Subject: [PATCH] Update 'app/views.py' --- app/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views.py b/app/views.py index 00c007b..78a3a77 100644 --- a/app/views.py +++ b/app/views.py @@ -243,7 +243,7 @@ def republish(): print("file saved") # flash("file saved") - return redirect(url_for(republish)) + return redirect(url_for('republish')) return render_template("public/republish.html")