From 683c51ceacd9c367ea3af8936fe8541fcfa398d7 Mon Sep 17 00:00:00 2001 From: TrainDoctor Date: Sat, 2 Jul 2022 15:59:15 -0700 Subject: Properly await uninstall --- backend/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') 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}") -- cgit v1.2.3