Commit a01dc15f authored by Johannes Schilling's avatar Johannes Schilling
Browse files

Revert "util/web: add default_theme to themes if not already present"

This reverts commit 3baee506.

having themes be a set is bullshit, we want them as a list because order
inside the list means priority
parent b9fd392f
......@@ -117,8 +117,7 @@ def remote_is_internal_network(request):
return False
available_themes = set([it[1] for it in config.themes_by_url])
available_themes = [it[1] for it in config.themes_by_url]
jinja_env = Environment(loader=ThemeSupportTemplateLoader(available_themes), cache_size=0)
jinja_env.globals['url_for'] = url_for
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment