From ff3da7e98c81c2bd7a3d66468defea7c9eda692d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nut=CC=A6iu?= Date: Tue, 18 Apr 2017 18:58:48 +0300 Subject: [PATCH] Updating the 404 page --- src/templates/404.html | 4 ++++ src/views/scoreboard.py | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/templates/404.html b/src/templates/404.html index 5fdf311..ca774f8 100644 --- a/src/templates/404.html +++ b/src/templates/404.html @@ -6,5 +6,9 @@

Oopsy poopsy...

Page not found! 404

+
{% endblock %} \ No newline at end of file diff --git a/src/views/scoreboard.py b/src/views/scoreboard.py index 8f62e65..9fb4d33 100644 --- a/src/views/scoreboard.py +++ b/src/views/scoreboard.py @@ -92,7 +92,6 @@ def index(): offset = page_no * results_per_page available_pages = math.floor((len(results) - offset) / results_per_page) - # Compute the available pages to the left pages_left = min(page_no, max_pages) # Compute the available pages to the right