Needs a user

main
Bob Mottram 2020-10-02 15:41:01 +01:00
parent 0842ba713c
commit 8d42672ee8
1 changed files with 17 additions and 14 deletions

View File

@ -7161,6 +7161,9 @@ class PubServer(BaseHTTPRequestHandler):
"""Shows an image at the top of the left/right column
"""
nickname = getNicknameFromActor(path)
if not nickname:
self._404()
return True
bannerFilename = \
baseDir + '/accounts/' + \
nickname + '@' + domain + '/' + side + '_col_image.png'