summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/browser.py8
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()")