From 8c8378b4c3fc4d8383eeaee01196e49e02a6a01a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20S=C3=A1=20Couto?= Date: Fri, 3 Jul 2020 12:32:22 +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 f313651..00c007b 100644 --- a/app/views.py +++ b/app/views.py @@ -243,7 +243,7 @@ def republish(): print("file saved") # flash("file saved") - return redirect(request.url) + return redirect(url_for(republish)) return render_template("public/republish.html")