main2
Bob Mottram 2019-10-23 13:56:05 +01:00
parent 626ee41f6b
commit ae5c6d7641
1 changed files with 1 additions and 1 deletions

View File

@ -982,7 +982,7 @@ class PubServer(BaseHTTPRequestHandler):
imageDescription=self.path.split('?desc=')[1] imageDescription=self.path.split('?desc=')[1]
if '?' in imageDescription: if '?' in imageDescription:
imageDescription=imageDescription.split('?')[0] imageDescription=imageDescription.split('?')[0]
msg=htmlFullScreenImage(imageFilename,imageDescription) msg=htmlFullScreenImage(imageFilename,imageDescription).encode('utf-8')
self._set_headers('text/html',len(msg),cookie) self._set_headers('text/html',len(msg),cookie)
self._write(msg) self._write(msg)
self.server.GETbusy=False self.server.GETbusy=False