diff options
| author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-08-09 21:06:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-09 12:06:33 -0700 |
| commit | 0dbdb4a143f6e4f2b08c5a38a597d5a1c49a109c (patch) | |
| tree | a335e713b0adb26b82d80f3894149407997c96bb | |
| parent | c9e9c45b3738b13dce9417f06803b549426e6cbf (diff) | |
| download | decky-loader-2.0.4-0dbdb4a-pre.tar.gz decky-loader-2.0.4-0dbdb4a-pre.zip | |
fix: don't pass unzip job to event loop (#136)v2.0.4-0dbdb4a-pre
For some reason this broke installation of plugins when another specific
plugin was present (vibrantDeck)
| -rw-r--r-- | backend/browser.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/backend/browser.py b/backend/browser.py index bf89b430..1261c057 100644 --- a/backend/browser.py +++ b/backend/browser.py @@ -97,13 +97,7 @@ class PluginBrowser: res_zip = BytesIO(data) with ProcessPoolExecutor() as executor: logger.debug("Unzipping...") - ret = await get_event_loop().run_in_executor( - executor, - self._unzip_to_plugin_dir, - res_zip, - name, - hash - ) + ret = self._unzip_to_plugin_dir(res_zip, name, hash) if ret: logger.info(f"Installed {name} (Version: {version})") await inject_to_tab("SP", "window.syncDeckyPlugins()") |
