Use default avatar

main
Bob Mottram 2022-05-26 17:11:46 +01:00
parent f61b1e61ba
commit 6d76c51130
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ def _get_avatar_image_html(showAvatarOptions: bool,
"""
# don't use svg images
if avatar_url.endswith('.svg'):
avatar_url = avatar_url.replace('.svg', '.png')
avatar_url = '/icons/avatar_default.png'
avatar_link = ''
if '/users/news/' not in avatar_url: