From a496801a877b609a4328e0c9812068928c185869 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 Oct 2019 13:22:20 +0100 Subject: [PATCH] Image description --- daemon.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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)