mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Suppress screenmessage on entrypoints unloaded
This commit is contained in:
parent
404cd4fd6a
commit
98279b5aad
1 changed files with 2 additions and 3 deletions
|
|
@ -424,9 +424,8 @@ class PluginLocal:
|
|||
def disable(self):
|
||||
for entry_point, plugin_info in ba.app.config["Plugins"].items():
|
||||
if entry_point.startswith(self._entry_point_initials):
|
||||
if plugin_info["enabled"]:
|
||||
ba.screenmessage(f"{entry_point} unloaded", color = (0,1,0))
|
||||
plugin_info["enabled"] = False
|
||||
# if plugin_info["enabled"]:
|
||||
plugin_info["enabled"] = False
|
||||
# XXX: The below logic is more accurate but less efficient, since it actually
|
||||
# reads the local plugin file and parses entry points from it.
|
||||
# await self._set_status(to_enable=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue