summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorTrainDoctor <traindoctor@protonmail.com>2022-07-02 15:59:15 -0700
committerTrainDoctor <traindoctor@protonmail.com>2022-07-02 15:59:15 -0700
commit683c51ceacd9c367ea3af8936fe8541fcfa398d7 (patch)
tree76ca066f9e18bed2bd0b71d628dcaee95cdddfcc /backend
parent630e8b7213386d0037eb1ca4c4b02f3f97c1072c (diff)
downloaddecky-loader-683c51ceacd9c367ea3af8936fe8541fcfa398d7.tar.gz
decky-loader-683c51ceacd9c367ea3af8936fe8541fcfa398d7.zip
Properly await uninstall
Diffstat (limited to 'backend')
-rw-r--r--backend/browser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/browser.py b/backend/browser.py
index 316d57a8..c037bfcb 100644
--- a/backend/browser.py
+++ b/backend/browser.py
@@ -66,7 +66,7 @@ class PluginBrowser:
return web.Response(text="Requested plugin uninstall")
async def _install(self, artifact, name, version, hash):
- self.uninstall_plugin(name)
+ await self.uninstall_plugin(name)
self.log.info(f"Installing {name} (Version: {version})")
async with ClientSession() as client:
self.log.debug(f"Fetching {artifact}")