mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Fixes do_GET()'s use of .write()
This commit is contained in:
parent
d00472c2cd
commit
a25d22123b
@ -257,8 +257,8 @@ else: # Linux / Run from source
|
|||||||
if self.parse():
|
if self.parse():
|
||||||
self.send_header('Content-Type', 'text/html')
|
self.send_header('Content-Type', 'text/html')
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.wfile.write('<html><head><title>%s</title></head>' % _('Authentication successful').encode('utf-8'))
|
self.wfile.write('<html><head><title>{}</title></head>'.format('Authentication successful').encode('utf-8'))
|
||||||
self.wfile.write('<body><p>%s</p></body>' % _('Authentication successful').encode('utf-8'))
|
self.wfile.write('<body><p>{}</p></body>'.format('Authentication successful').encode('utf-8'))
|
||||||
else:
|
else:
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user