Ver código fonte

Исправлена ошибка 22.11.2022

gr701_smmse 2 anos atrás
pai
commit
e5aab604ec
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -17,7 +17,7 @@ class HttpGetHandler(BaseHTTPRequestHandler):
                 http_text = """<html><head><meta charset= 'utf-8'>
                 <title>Страница 2</title></head>
                 <body>Смагин Максим Сергеевич 701 группа</body></html>"""
-                self.wfile.write(http_text.encode()))
+                self.wfile.write(http_text.encode())
         except IOError:
             self.send_error(400, "File not found{self.path}")
 def main(server_class=HTTPServer,handler_class=HttpGetHandler):