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