Commit 8ba16f98 authored by Michal Čihař's avatar Michal Čihař

Fix fetching of fallback avatar

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent de63069d
......@@ -104,7 +104,7 @@ def get_fallback_avatar(size):
Returns fallback avatar.
"""
fallback = os.path.join(
appsettings.STATIC_ROOT,
settings.STATIC_ROOT,
'weblate-{0}.png'.format(size)
)
with open(fallback, 'r') as handle:
......
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