diff --git a/daemon.py b/daemon.py index 83fc1ca6..8bf82604 100644 --- a/daemon.py +++ b/daemon.py @@ -974,13 +974,12 @@ class PubServer(BaseHTTPRequestHandler): # full screen images shown from the media timeline if self.path.startswith('/fullscreen?'): - fullscreenImageStr=self.path.split('?img=') - imageFilename=fullscreenImageStr[1] + imageFilename=self.path.split('?img=')[1] if '?' in imageFilename: imageFilename=imageFilename.split('?')[0] imageDescription=None if '?desc=' in self.path: - imageDescription=self.path.split('?desc=') + imageDescription=self.path.split('?desc=')[1] if '?' in imageDescription: imageDescription=imageDescription.split('?')[0] msg=htmlFullScreenImage(imageFilename,imageDescription)