diff options
-rw-r--r-- | lab_monitor_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lab_monitor_server.py b/lab_monitor_server.py index 50f9430..1c664cd 100644 --- a/lab_monitor_server.py +++ b/lab_monitor_server.py @@ -110,10 +110,10 @@ def command_server(): conn.close() def cmd_shutdown(): - global is_exiting, cmd_socket, local_socket_address, cmd + global is_exiting, cmd_socket, cmd is_exiting.set(); cmd_socket.close() - socket(AF_INET).connect(local_socket_address) + socket.socket(AF_INET, SOCK_STREAM).connect((HOST, SOCKET_PORT)) cmd.join() class AJAXHandler(RequestHandler): |