summaryrefslogtreecommitdiff
path: root/plugin_loader/main.py
diff options
context:
space:
mode:
authormarios <marios8543@gmail.com>2022-05-10 21:11:51 +0300
committerGitHub <noreply@github.com>2022-05-10 21:11:51 +0300
commite132aba0f8cb725057a161855a2e19da421af602 (patch)
tree40d49bf9ed0943c9d8da4042df6904dba6931cd5 /plugin_loader/main.py
parent0d0e57e35aebdc847fbefe1d791f72cc0979fa5a (diff)
downloaddecky-loader-e132aba0f8cb725057a161855a2e19da421af602.tar.gz
decky-loader-e132aba0f8cb725057a161855a2e19da421af602.zip
Fixed race condition pr
Diffstat (limited to 'plugin_loader/main.py')
-rw-r--r--plugin_loader/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin_loader/main.py b/plugin_loader/main.py
index 9ed30760..48f45231 100644
--- a/plugin_loader/main.py
+++ b/plugin_loader/main.py
@@ -96,7 +96,7 @@ class PluginManager:
"id": 1,
"method": "Runtime.evaluate",
"params": {
- "expression": f"resolveMethodCall({call_id}, {r})",
+ "expression": f"resolveMethodCall('{call_id}', {r})",
"userGesture": True
}
}, receive=False)
@@ -141,4 +141,4 @@ class PluginManager:
return run_app(self.web_app, host=CONFIG["server_host"], port=CONFIG["server_port"], loop=self.loop, access_log=None)
if __name__ == "__main__":
- PluginManager().run() \ No newline at end of file
+ PluginManager().run()