Pass context as argument to load for modules

This commit is contained in:
Némunaire 2012-08-14 06:53:52 +02:00
commit 433f0977bf

View file

@ -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)