From 2d1afdc72124a9e0bbf2cb0e9fdff5bf4e497928 Mon Sep 17 00:00:00 2001 From: Davide Bongiovanni Date: Sun, 2 Dec 2018 14:57:31 +0100 Subject: [PATCH] Sensibl file renaming --- kukv1.py | 2 +- templates/{index.html => view_meal.html} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename templates/{index.html => view_meal.html} (100%) diff --git a/kukv1.py b/kukv1.py index 0b31ad4..fb22067 100644 --- a/kukv1.py +++ b/kukv1.py @@ -139,7 +139,7 @@ def view_meal(): if meal == None: return abort(400) print(meal) - return render_template('index.html', leaderboard=getLeaderboard(), meal=meal) + return render_template('view_meal.html', leaderboard=getLeaderboard(), meal=meal) @app.route('/login', methods=['GET', 'POST']) def login(): diff --git a/templates/index.html b/templates/view_meal.html similarity index 100% rename from templates/index.html rename to templates/view_meal.html