Ends with background image

merge-requests/30/head
Bob Mottram 2020-07-26 10:20:31 +01:00
parent 666a3f9680
commit 1e15f4273b
1 changed files with 1 additions and 1 deletions

View File

@ -1915,7 +1915,7 @@ class PubServer(BaseHTTPRequestHandler):
for ext in ('webp', 'gif', 'jpg', 'png'): for ext in ('webp', 'gif', 'jpg', 'png'):
for bg in ('follow', 'options', 'login'): for bg in ('follow', 'options', 'login'):
# follow screen background image # follow screen background image
if self.path == '/' + bg + '-background.' + ext: if self.path.endswith('/' + bg + '-background.' + ext):
bgFilename = \ bgFilename = \
self.server.baseDir + '/accounts/' + \ self.server.baseDir + '/accounts/' + \
bg + '-background.' + ext bg + '-background.' + ext