Skip to content
Snippets Groups Projects
Commit dbfc65b7 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Rename config variable in Favicon model

parent 4f0fd00f
No related branches found
No related tags found
1 merge request!3Resolve "Favicons are recreated on every request"
......@@ -85,8 +85,8 @@ class Favicon(models.Model):
# Check whether favicons are missing
new_favicons = []
for rel in config:
for size in config[rel]:
for rel in config_override:
for size in config_override[rel]:
if not (rel, size) in found:
fav = FaviconImg(faviconFK=self, size=size, rel=rel)
fav.generate_image()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment