Encode the string

master
Bob Mottram 2019-08-27 13:52:47 +01:00
parent be84d50759
commit 9da512c879
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.personCache)
if deleteStr:
self._set_headers('text/html',len(deleteStr),cookie)
self.wfile.write(deleteStr)
self.wfile.write(deleteStr.encode())
self.server.GETbusy=False
return
self.server.GETbusy=False