mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Plugin must be installed before checking if it's enabled
This commit is contained in:
parent
b39b234c0c
commit
63d674cfd4
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ class StartupTasks:
|
|||
all_plugins = await self.plugin_manager.categories["All"].get_plugins()
|
||||
plugins_to_update = []
|
||||
for plugin in all_plugins:
|
||||
if await plugin.get_local().is_enabled() and plugin.has_update():
|
||||
if plugin.is_installed and await plugin.get_local().is_enabled() and plugin.has_update():
|
||||
plugins_to_update.append(plugin.update())
|
||||
await asyncio.gather(*plugins_to_update)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue