Typo fixed

This commit is contained in:
daxcay
2024-08-24 19:30:32 +05:30
parent 5de7996b18
commit b8c9bd779b
3 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import uuid
from aiohttp import web
from server import PromptServer
from .lib.WebSocketManager import WebSocketManager
from .classes.WebSocketManager import WebSocketManager
DATA_FOLDER = './nexus'
+13
View File
@@ -0,0 +1,13 @@
class WebSocketManager:
def __init__(self):
self.sockets = {}
def get(self, id):
return self.sockets.get(id)
def set(self, id, ws):
self.sockets[id] = ws
def delete(self, id):
if id in self.sockets:
del self.sockets[id]
+2 -2
View File
File diff suppressed because one or more lines are too long