From feabb582b2def5ad437a57dc9600d398d32fcfab Mon Sep 17 00:00:00 2001 From: marios8543 Date: Wed, 18 Oct 2023 19:38:07 +0300 Subject: run method calls asynchronously --- backend/src/plugin/sandboxed_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/src/plugin/sandboxed_plugin.py') diff --git a/backend/src/plugin/sandboxed_plugin.py b/backend/src/plugin/sandboxed_plugin.py index 972a535a..8540bebc 100644 --- a/backend/src/plugin/sandboxed_plugin.py +++ b/backend/src/plugin/sandboxed_plugin.py @@ -128,6 +128,6 @@ class SandboxedPlugin: async def emit_message(self, message: Dict[Any, Any]): await self._socket.write_single_line(dumps({ - "id": 0, + "id": "0", "payload": message })) \ No newline at end of file -- cgit v1.2.3