Pass context as argument to load for modules
This commit is contained in:
parent
fe1fefecc0
commit
433f0977bf
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ class ModuleLoader(SourceLoader):
|
|||
|
||||
# Launch the module
|
||||
if hasattr(module, "load"):
|
||||
module.load()
|
||||
module.load(self.context)
|
||||
|
||||
# Register hooks
|
||||
register_hooks(module, self.context, self.prompt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue