Dashboard-Tutorials
Dashboard-Tutorials copied to clipboard
Call ipc function more than once breaks
If you try to call some ipc function more than once, second time returns an Error and after that conections closes.
this is bc swas is an idiot
I made a workarround to work in django, modifying the client.py (from ext-ipc library) (line 95):
# if not self.session:
await self.init_sock()
and last 2 lines:
await self.websocket.close()
return json.loads(recv.data)