fix errors

This commit is contained in:
Skillet 2023-08-23 22:42:22 -04:00
parent 64532ad098
commit 1191154d5a

View File

@ -67,13 +67,12 @@ class serveRA(http.server.SimpleHTTPRequestHandler):
def startServer():
handler = serveRA
started = False
while not started:
while True:
print("trying to start...")
try:
with socketserver.TCPServer(("", PORT), handler) as httpd:
print('starting server!')
httpd.serve_forever()
started = True
except:
print("server did not start trying again!")
sleep(5)