Commit 7523b099 authored by Michal Čihař's avatar Michal Čihař

This can be unicode

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent bfc5e63b
...@@ -90,7 +90,7 @@ def get_avatar_image(user, size): ...@@ -90,7 +90,7 @@ def get_avatar_image(user, size):
Returns avatar image from cache (if available) or downloads it. Returns avatar image from cache (if available) or downloads it.
''' '''
cache_key = 'avatar-img-{0}-{1}'.format( cache_key = u'avatar-img-{0}-{1}'.format(
user.username, user.username,
size size
) )
......
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