From 8becab4dc989be00da74a4a7911f1ea65a767891 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Sun, 7 Jul 2019 14:16:11 +0200 Subject: [PATCH] Fix Special Day View --- server.py | 2 +- templates/account.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 3f4d829..16c4fe6 100644 --- a/server.py +++ b/server.py @@ -95,7 +95,7 @@ def function_speacialDays(number): for r in res: day = {} day["day"] = str(r[0])+"."+str(r[1])+"."+str(r[2]) - day["plan"] = r[3] + day["plan"] = function_getPlanName(r[3]) days.append(day) return days diff --git a/templates/account.html b/templates/account.html index fd82508..84b6288 100644 --- a/templates/account.html +++ b/templates/account.html @@ -187,7 +187,7 @@ {% for day in special_days %} {{ day["day"] }} - {{ day["plan"] }} + {{ day["plan"]["name"] }} {% endfor %}