From 358c4b6b5d7d8af2f450376f7d9712d928128f86 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 Oct 2019 14:07:05 +0100 Subject: [PATCH] Remove formatting from filename --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 8d66cba8e..af5ce8950 100644 --- a/daemon.py +++ b/daemon.py @@ -974,7 +974,7 @@ class PubServer(BaseHTTPRequestHandler): # full screen images shown from the media timeline if htmlGET and authorized and '/fullscreen?' in self.path: - imageFilename=self.path.split('?img=')[1] + imageFilename=self.path.split('?img=')[1].replace('%20',' ').replace('%40','@').replace('%3A',':').replace('%23','#') if '?' in imageFilename: imageFilename=imageFilename.split('?')[0] imageDescription=None