Fix websocket serve change.

This commit is contained in:
Matthew Stratford 2021-10-01 00:08:24 +01:00
parent 3f1e73930d
commit 570077a3aa

View file

@ -7,7 +7,7 @@ from typing import List
import websockets import websockets
import json import json
from os import _exit from os import _exit
from websockets.server import Serve from websockets.server import serve
from setproctitle import setproctitle from setproctitle import setproctitle
from multiprocessing import current_process from multiprocessing import current_process
@ -25,7 +25,7 @@ class WebsocketServer:
logger: LoggingManager logger: LoggingManager
to_webstudio: Task to_webstudio: Task
from_webstudio: Task from_webstudio: Task
websocket_server: Serve websocket_server: serve
def __init__(self, in_q, out_q, state): def __init__(self, in_q, out_q, state):