main
Bob Mottram 2020-12-20 17:36:25 +00:00
parent 03b19ec168
commit cd5f9de93a
1 changed files with 1 additions and 1 deletions

View File

@ -9084,7 +9084,7 @@ class PubServer(BaseHTTPRequestHandler):
# remove any numbers, eg. avatar123.png becomes avatar.png
if avatarFile.startswith('avatar'):
avatarFile = 'avatar.' + avatarFileExt
if avatarFile.startswith('banner'):
elif avatarFile.startswith('banner'):
avatarFile = 'banner.' + avatarFileExt
elif avatarFile.startswith('image'):
avatarFile = 'image.' + avatarFileExt