diff options
| author | Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> | 2024-04-09 15:44:38 +0100 |
|---|---|---|
| committer | PartyWumpus <48649272+PartyWumpus@users.noreply.github.com> | 2024-04-09 15:54:48 +0100 |
| commit | f9ff518e6d6368f65ead7634f459498b183081f2 (patch) | |
| tree | 4af2f6e8d3b8da6b01e4565518f416ab9af15d03 /backend/decky_loader/plugin/plugin.py | |
| parent | de9d2144a604506bf9499078147b7c0c899ccb65 (diff) | |
| download | decky-loader-f9ff518e6d6368f65ead7634f459498b183081f2.tar.gz decky-loader-f9ff518e6d6368f65ead7634f459498b183081f2.zip | |
attempt to add plugin events to the plugin frontend api.
unable to test right now though
Diffstat (limited to 'backend/decky_loader/plugin/plugin.py')
| -rw-r--r-- | backend/decky_loader/plugin/plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/decky_loader/plugin/plugin.py b/backend/decky_loader/plugin/plugin.py index cad323f4..02d80470 100644 --- a/backend/decky_loader/plugin/plugin.py +++ b/backend/decky_loader/plugin/plugin.py @@ -59,7 +59,7 @@ class PluginWrapper: if line != None: res = loads(line) if res["type"] == SocketMessageType.EVENT.value: - create_task(self.emitted_event_callback(res["event"], res["data"])) + create_task(self.emitted_event_callback(res["event"], res["args"])) elif res["type"] == SocketMessageType.RESPONSE.value: self._method_call_requests.pop(res["id"]).set_result(res) except: |
