From 39934fc34e8841b02b89979f5db5a8aff1a3f5ba Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Thu, 8 Mar 2018 00:51:20 +0100
Subject: [PATCH] Fix wrong Jinja test

---
 templates/main.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/main.html b/templates/main.html
index 1b760c6..cce82b9 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -3,7 +3,7 @@
 {% block title %}Nominate{% endblock %}
 
 {% block content %}
-{% if inst is None %}
+{% if inst is none %}
 <div class="alert alert-danger" role="alert">Sorry, there is currently no nomination process running.</div>
 {% elif not inst.enabled %}
 <div class="alert alert-warning" role="alert">Sorry, you cannot nominate for {{ inst.name }}, currently. The results will be announced at {{ inst.date }}.</div>
-- 
GitLab