diff --git a/daemon.py b/daemon.py index 6098d73f..22f40d18 100644 --- a/daemon.py +++ b/daemon.py @@ -982,7 +982,7 @@ class PubServer(BaseHTTPRequestHandler): imageDescription=self.path.split('?desc=')[1] if '?' in imageDescription: imageDescription=imageDescription.split('?')[0] - msg=htmlFullScreenImage(imageFilename,imageDescription) + msg=htmlFullScreenImage(imageFilename,imageDescription).encode('utf-8') self._set_headers('text/html',len(msg),cookie) self._write(msg) self.server.GETbusy=False