修改一些小问题
This commit is contained in:
@ -15,8 +15,6 @@ class SocketManager:
|
||||
self.rooms[room].remove(websocket)
|
||||
if len(self.rooms[room]) == 0:
|
||||
del self.rooms[room]
|
||||
if room.startswith('detect_rtsp_'):
|
||||
print()
|
||||
|
||||
async def broadcast_to_room(self, room: str, message: str, exclude_websocket: WebSocket = None):
|
||||
if room in self.rooms:
|
||||
|
Reference in New Issue
Block a user