Commit 75382d1a authored by Taddeus Kroes's avatar Taddeus Kroes

Fixed endless loop in server

parent 0fc7891e
...@@ -90,6 +90,8 @@ if __name__ == '__main__': ...@@ -90,6 +90,8 @@ if __name__ == '__main__':
while True: while True:
try: try:
sock, address = server.accept() sock, address = server.accept()
except KeyboardInterrupt:
raise
except: except:
continue continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment