From 70342ffab492eecd554eaa2956b2832d51c48149 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Wed, 15 Jul 2020 16:37:55 +0100 Subject: [PATCH] FIxed ThreadedWebsocketServer --- src/labthings/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/labthings/wsgi.py b/src/labthings/wsgi.py index 451cf718..1757d2ba 100644 --- a/src/labthings/wsgi.py +++ b/src/labthings/wsgi.py @@ -122,7 +122,7 @@ def start(self): print(f"Running on http://{friendlyhost}:{self.port} (Press CTRL+C to quit)") # Create WSGIServer - self.wsgi_server = ThreadedWsWSGIServer(self.host, self.port, app_to_run) + self.wsgi_server = ThreadedWebsocketServer(self.host, self.port, app_to_run) # Serve signal.signal(signal.SIGTERM, self.stop)