mirror of https://gitlab.com/bashrc2/epicyon
Use default avatar
parent
f61b1e61ba
commit
6d76c51130
|
@ -383,7 +383,7 @@ def _get_avatar_image_html(showAvatarOptions: bool,
|
||||||
"""
|
"""
|
||||||
# don't use svg images
|
# don't use svg images
|
||||||
if avatar_url.endswith('.svg'):
|
if avatar_url.endswith('.svg'):
|
||||||
avatar_url = avatar_url.replace('.svg', '.png')
|
avatar_url = '/icons/avatar_default.png'
|
||||||
|
|
||||||
avatar_link = ''
|
avatar_link = ''
|
||||||
if '/users/news/' not in avatar_url:
|
if '/users/news/' not in avatar_url:
|
||||||
|
|
Loading…
Reference in New Issue