diff --git a/files/templates/default.html b/files/templates/default.html
index c30ee09e25..382b59f831 100644
--- a/files/templates/default.html
+++ b/files/templates/default.html
@@ -272,7 +272,7 @@
{% endblock %}
- {% if request.path in ['/', '/logged_out', '/logged_out/'] %}
+ {% if request.path in ('/', '/logged_out', '/logged_out/') %}
{% block sidebar %}
{% set template = "sidebar_" + environ.get("SITE_NAME") + ".html" %}
{% include template %}