Restructured builtin plugins and docstrings
This commit is contained in:
parent
9ca821c24c
commit
95a3abde7e
7 changed files with 104 additions and 35 deletions
|
|
@ -40,7 +40,7 @@ def load_plugin_module(plugin_path):
|
|||
# First, try importing from standard modules
|
||||
try:
|
||||
plugin_module = importlib.import_module(plugin_path)
|
||||
except ModuleNotFoundError:
|
||||
except ImportError:
|
||||
plugin_spec, plugin_module, plugin_name = module_from_file(plugin_path)
|
||||
|
||||
# If a valid plugin was found
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue