mirror of https://gitlab.com/bashrc2/epicyon
Remove extension
parent
c9376f0a2b
commit
3a0644a2ae
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue