nit
This commit is contained in:
parent
0f82948e4f
commit
a95326bec4
|
@ -14,7 +14,7 @@ def load_module(path):
|
|||
module_spec = importlib.util.spec_from_file_location(full_module_name, path)
|
||||
module = importlib.util.module_from_spec(module_spec)
|
||||
module_spec.loader.exec_module(module)
|
||||
loaded_scripts[full_module_name] = module
|
||||
loaded_scripts[path] = module
|
||||
sys.modules[full_module_name] = module
|
||||
return module
|
||||
|
||||
|
|
Loading…
Reference in New Issue