ws
This commit is contained in:
parent
384168f238
commit
4ef8d20582
@ -73,8 +73,7 @@ manager = WebsocketUtil()
|
||||
|
||||
def write(id: str, ws: List):
|
||||
with open(f"{id}.pkl", "wb") as f:
|
||||
wsdump = pickle.dump(ws)
|
||||
f.write(wsdump)
|
||||
wsdump = pickle.dump(ws, f)
|
||||
|
||||
|
||||
def read(id: str):
|
||||
|
Loading…
x
Reference in New Issue
Block a user