fix: Fix indentation error in server.py

This commit is contained in:
2025-10-31 10:00:35 +01:00
parent f889c4dc68
commit 03469097c8

View File

@@ -23,7 +23,7 @@ class SystemInfoHandler(http.server.SimpleHTTPRequestHandler):
with socketserver.TCPServer(('', PORT), SystemInfoHandler) as httpd:
print("serving at port", PORT)
try:
httpd.serve_forever()
except KeyboardInterrupt:
print("\nShutting down server.")
httpd.shutdown()
httpd.serve_forever()
except KeyboardInterrupt:
print("\nShutting down server.")
httpd.shutdown()