Skip to content

Commit

Permalink
PluginManager needs config
Browse files Browse the repository at this point in the history
  • Loading branch information
EggPool authored Mar 29, 2020
1 parent 5e60724 commit 5a23b61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# issues with db? perhaps you missed a commit() or two


VERSION = "4.4.0.9" # Post fork candidate 9
VERSION = "4.4.0.10" # Post fork candidate 9

import functools
import glob
Expand Down Expand Up @@ -2067,7 +2067,7 @@ def add_indices(db_handler: dbhandler.DbHandler):
node.logger.app_log.warning(f"Heavy3 file Ok!")
try:
# create a plugin manager, load all plugin modules and init
node.plugin_manager = plugins.PluginManager(app_log=node.logger.app_log, init=True)
node.plugin_manager = plugins.PluginManager(app_log=node.logger.app_log, config=node.config, init=True)
# get the potential extra command prefixes from plugin
extra_commands = {} # global var, used by the server part.
extra_commands = node.plugin_manager.execute_filter_hook('extra_commands_prefixes', extra_commands)
Expand Down

0 comments on commit 5a23b61

Please sign in to comment.