Skip to content

Commit

Permalink
log plugin enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
noO0oOo0ob committed Feb 5, 2024
1 parent a8619c5 commit 377acd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lyrebird/plugins/plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ def reload(self):
self.setup_plugins()

def setup_plugins(self):
application.config['extension.plugin.enable'] = []
# TODO register plugins pb
for p_name, plugin in self.plugins.items():
application.config['extension.plugin.enable'].append(p_name)
view_static_folder_name = plugin.manifest.view[0]
view_entry_file = plugin.manifest.view[1]
plugin_static_folder = f"{plugin.location}/{view_static_folder_name}"
Expand Down
2 changes: 1 addition & 1 deletion lyrebird/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
IVERSION = (2, 25, 0)
IVERSION = (2, 25, 1)
VERSION = ".".join(str(i) for i in IVERSION)
LYREBIRD = "Lyrebird " + VERSION

0 comments on commit 377acd1

Please sign in to comment.