diff --git a/backend/browser.py b/backend/browser.py index bf89b4300..1261c0578 100644 --- a/backend/browser.py +++ b/backend/browser.py @@ -97,13 +97,7 @@ async def _install(self, artifact, name, version, hash): 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()")