diff options
| author | marios <marios8543@gmail.com> | 2022-04-29 12:52:24 +0300 |
|---|---|---|
| committer | marios <marios8543@gmail.com> | 2022-04-29 12:52:24 +0300 |
| commit | 7d74e98f4f8a47daac85b5de1ef6aa29a1637c06 (patch) | |
| tree | a413da14d06f1c1a9cbbe5ae33d7693c640ded5a /plugin_loader/utilities.py | |
| parent | fe1f6473e9324be5a3ae7bf5c641d1a652c7b5a6 (diff) | |
| download | decky-loader-7d74e98f4f8a47daac85b5de1ef6aa29a1637c06.tar.gz decky-loader-7d74e98f4f8a47daac85b5de1ef6aa29a1637c06.zip | |
Bug fixes
- Fixed KeyError in execute_in_tab
- Changed the plugin process dispatch method, this *should* fix that annoying server hang issue.
Diffstat (limited to 'plugin_loader/utilities.py')
| -rw-r--r-- | plugin_loader/utilities.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin_loader/utilities.py b/plugin_loader/utilities.py index fa47da79..39f9ca55 100644 --- a/plugin_loader/utilities.py +++ b/plugin_loader/utilities.py @@ -32,7 +32,6 @@ class Utilities: async def execute_in_tab(self, tab, run_async, code): try: result = await inject_to_tab(tab, code, run_async) - if "exceptionDetails" in result["result"]: return { "success": False, @@ -41,7 +40,7 @@ class Utilities: return { "success": True, - "result" : result["result"]["result"]["value"] + "result" : result["result"]["result"].get("value") } except Exception as e: return { |
