mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
fix module log
This commit is contained in:
@@ -36,7 +36,7 @@ class ModuleHelper:
|
|||||||
if isinstance(obj, type) and filter_func(name, obj):
|
if isinstance(obj, type) and filter_func(name, obj):
|
||||||
submodules.append(obj)
|
submodules.append(obj)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger.error(f'加载模块 {package_name} 失败:{str(err)} - {traceback.format_exc()}')
|
logger.debug(f'加载模块 {package_name} 失败:{str(err)} - {traceback.format_exc()}')
|
||||||
|
|
||||||
return submodules
|
return submodules
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user