From bb6d32547a3e88087d56efd8458b6bba764dbbcf Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 7 Oct 2018 23:28:41 +0200 Subject: [PATCH] uiohyhuhui --- templates/main.html | 2 +- webserver.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/main.html b/templates/main.html index 1884b55e..530cd615 100644 --- a/templates/main.html +++ b/templates/main.html @@ -28,7 +28,7 @@ Royal Games
- {% if g.time_left %} + {% if g.event_started %}
diff --git a/webserver.py b/webserver.py index 76b1da88..fe316830 100644 --- a/webserver.py +++ b/webserver.py @@ -378,7 +378,7 @@ def pre_request(): fl_g.event_started, fl_g.event_progress = db.Halloween.puzzle_status() fl_g.time_left = datetime.datetime.fromtimestamp(1540999800) - datetime.datetime.now() fl_g.display_on_main_site = (fl_g.time_left < datetime.timedelta(days=7)) or __debug__ - fl_g.css = "spoopy.less" if (fl_g.event_started) else "nryg.less" + fl_g.css = "spoopy.less" if fl_g.event_started else "nryg.less" fl_g.rygconf = config