Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Apr 16, 2024
1 parent 0f82948 commit a95326b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/script_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a95326b

Please sign in to comment.