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

1 comment on commit a95326b

@diegocr
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AUTOMATIC1111 Nit: It may be good if you do start considering squashing commits when merging PRs, you'll have a more clean commit history :)

Please sign in to comment.