diff --git a/protocol.py b/protocol.py index 98e6611f..6fdb6e59 100644 --- a/protocol.py +++ b/protocol.py @@ -257,8 +257,8 @@ else: # Linux / Run from source if self.parse(): self.send_header('Content-Type', 'text/html') self.end_headers() - self.wfile.write('%s' % _('Authentication successful').encode('utf-8')) - self.wfile.write('

%s

' % _('Authentication successful').encode('utf-8')) + self.wfile.write('{}'.format('Authentication successful').encode('utf-8')) + self.wfile.write('

{}

'.format('Authentication successful').encode('utf-8')) else: self.end_headers()