From 85f720af8717f2f17e177400068707d22f48aca7 Mon Sep 17 00:00:00 2001 From: Sunpy Date: Mon, 27 May 2019 15:56:56 +0100 Subject: [PATCH] Redirect to correct endpoint --- routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes.py b/routes.py index de8e58f..15d789f 100644 --- a/routes.py +++ b/routes.py @@ -71,7 +71,7 @@ def warranties(): conn.commit() - return redirect(url_for("bills")) + return redirect(url_for("warranties")) cur.execute(""" SELECT Vare, Kjøpsdato, Garantitil, Pris