Commit 67510463 authored by Lukas Braun's avatar Lukas Braun

sets are added to, not appended

AttributeError: 'set' object has no attribute 'append'
parent 13b1965a
......@@ -95,7 +95,7 @@ class ThemeSupportTemplateLoader(BaseLoader):
## add it, because the assumption is that it has all theme building
## blocks, whereas individual other themes only override those changed
if config.default_theme not in map(lambda x: x[1], config.themes_by_url):
themes.append(config.default_theme)
themes.add(config.default_theme)
self.loaders = dict([
(theme, FileSystemLoader(os.path.join(config.templates, theme))) \
for theme in themes])
......
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