String cast

main
Bob Mottram 2024-02-15 21:02:26 +00:00
parent b634f11f50
commit fcd5307079
1 changed files with 2 additions and 2 deletions

View File

@ -973,10 +973,10 @@ class PubServer(BaseHTTPRequestHandler):
'text-align: center;">' + str(http_code) + '</div>' + \
'<div style="font-size: 128px; ' + \
'text-align: center; font-variant: ' + \
'small-caps;"><p role="alert">' + http_description + \
'small-caps;"><p role="alert">' + str(http_description) + \
'</p></div>' + \
'<div style="text-align: center;" aria-live="polite">' + \
long_description + '</div></body></html>'
str(long_description) + '</div></body></html>'
msg = msg.encode('utf-8')
self.send_response(http_code)
self.send_header('Content-Type', 'text/html; charset=utf-8')