ws
This commit is contained in:
parent
7489a3e3c8
commit
7061757f27
@ -33,9 +33,11 @@ class WebsocketUtil:
|
||||
if os.path.exists(f"{id}.pkl"):
|
||||
ws_list = read(id=id)
|
||||
ws_list.append(ws)
|
||||
write(id=id, ws=ws_list)
|
||||
else:
|
||||
ws_list = [ws, ]
|
||||
write(id=id, ws=ws_list)
|
||||
write(id=id, ws=ws_list)
|
||||
print("--;;-----------", ws_list)
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user