From 1e15f4273bad39baac868748fb7fc4f018ab2302 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 26 Jul 2020 10:20:31 +0100 Subject: [PATCH] Ends with background image --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 29f222094..5e332c746 100644 --- a/daemon.py +++ b/daemon.py @@ -1915,7 +1915,7 @@ class PubServer(BaseHTTPRequestHandler): for ext in ('webp', 'gif', 'jpg', 'png'): for bg in ('follow', 'options', 'login'): # follow screen background image - if self.path == '/' + bg + '-background.' + ext: + if self.path.endswith('/' + bg + '-background.' + ext): bgFilename = \ self.server.baseDir + '/accounts/' + \ bg + '-background.' + ext