mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 09:05:04 +08:00
Remove todo
This commit is contained in:
parent
0d986de090
commit
25348f2ec8
@ -114,7 +114,6 @@ def load_plugin(module_name: str) -> bool:
|
|||||||
:param module_name: name of module to import
|
:param module_name: name of module to import
|
||||||
:return: successful or not
|
:return: successful or not
|
||||||
"""
|
"""
|
||||||
# TODO: 更新文档
|
|
||||||
try:
|
try:
|
||||||
_plugins.add(importlib.import_module(module_name))
|
_plugins.add(importlib.import_module(module_name))
|
||||||
logger.info(f'Succeeded to import "{module_name}"')
|
logger.info(f'Succeeded to import "{module_name}"')
|
||||||
|
Loading…
Reference in New Issue
Block a user