Commit 815295d4 authored by Michal Čihař's avatar Michal Čihař

Avoid name clash with global import

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 87021742
......@@ -73,8 +73,8 @@ def auth_name(auth, extra_class='fa-4x', separator='<br />'):
params.update(SOCIALS[auth])
if 'fl_icon' in params:
template = FL_SOCIAL_TEMPLATE
html_template = FL_SOCIAL_TEMPLATE
else:
template = FA_SOCIAL_TEMPLATE
html_template = FA_SOCIAL_TEMPLATE
return mark_safe(template.format(**params))
return mark_safe(html_template.format(**params))
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