From 2bb5d199042281a7a0465b571912f343ce4dd8c7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 Oct 2019 13:30:23 +0100 Subject: [PATCH] fullscreen --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 8bf826045..1e1c4fc06 100644 --- a/daemon.py +++ b/daemon.py @@ -754,7 +754,7 @@ class PubServer(BaseHTTPRequestHandler): '/emoji/' not in self.path and \ '/tags/' not in self.path and \ '/avatars/' not in self.path and \ - '/fullscreen?' not in self.path and \ + not self.path.startswith('/fullscreen') and \ '/icons/' not in self.path: divertToLoginScreen=True if self.path.startswith('/users/'): @@ -973,7 +973,7 @@ class PubServer(BaseHTTPRequestHandler): return # full screen images shown from the media timeline - if self.path.startswith('/fullscreen?'): + if self.path.startswith('/fullscreen'): imageFilename=self.path.split('?img=')[1] if '?' in imageFilename: imageFilename=imageFilename.split('?')[0]