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,8 +424,7 @@ class PluginLocal:
|
||||||
def disable(self):
|
def disable(self):
|
||||||
for entry_point, plugin_info in ba.app.config["Plugins"].items():
|
for entry_point, plugin_info in ba.app.config["Plugins"].items():
|
||||||
if entry_point.startswith(self._entry_point_initials):
|
if entry_point.startswith(self._entry_point_initials):
|
||||||
if plugin_info["enabled"]:
|
# if plugin_info["enabled"]:
|
||||||
ba.screenmessage(f"{entry_point} unloaded", color = (0,1,0))
|
|
||||||
plugin_info["enabled"] = False
|
plugin_info["enabled"] = False
|
||||||
# XXX: The below logic is more accurate but less efficient, since it actually
|
# XXX: The below logic is more accurate but less efficient, since it actually
|
||||||
# reads the local plugin file and parses entry points from it.
|
# reads the local plugin file and parses entry points from it.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue