From ca6f735ff3b07e42ed142e6d14bc254c0e429210 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 19 Jun 2020 20:40:40 +0100 Subject: [PATCH] Not an image --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 488218a9..82b40aa6 100644 --- a/daemon.py +++ b/daemon.py @@ -1617,7 +1617,8 @@ class PubServer(BaseHTTPRequestHandler): self._benchmarkGETtimings(GETstartTime, GETtimings, 13) # if not authorized then show the login screen - if htmlGET and self.path != '/login' and self.path != '/': + if htmlGET and self.path != '/login' and \ + not self.path.endswith('.png') and self.path != '/': if '/media/' not in self.path and \ '/sharefiles/' not in self.path and \ '/statuses/' not in self.path and \