diff --git a/importer.py b/importer.py index c745827..084c3bc 100644 --- a/importer.py +++ b/importer.py @@ -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)