Remove extension

merge-requests/8/head
Bob Mottram 2020-12-20 13:36:20 +00:00
parent c9376f0a2b
commit 3a0644a2ae
1 changed files with 1 additions and 0 deletions

View File

@ -5088,6 +5088,7 @@ class PubServer(BaseHTTPRequestHandler):
optionsProfileUrl.startswith('/members/'):
ext = optionsProfileUrl.split('.')[-1]
optionsProfileUrl = optionsProfileUrl.split('/members/')[1]
optionsProfileUrl = optionsProfileUrl.replace('.' + ext, '')
optionsProfileUrl = \
'/users/' + optionsProfileUrl + '/avatar.' + ext
if optionsPageNumber.isdigit():