mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
更友好的提示
This commit is contained in:
@@ -39,11 +39,12 @@ class Module(object):
|
|||||||
def check(self, *apis):
|
def check(self, *apis):
|
||||||
"""
|
"""
|
||||||
简单检查是否配置了api信息
|
简单检查是否配置了api信息
|
||||||
|
|
||||||
:param apis: api信息元组
|
:param apis: api信息元组
|
||||||
:return: 检查结果
|
:return: 检查结果
|
||||||
"""
|
"""
|
||||||
if not all(apis):
|
if not all(apis):
|
||||||
logger.log('ALERT', f'{self.source}模块API配置有误跳过执行')
|
logger.log('ALERT', f'{self.source}模块没有配置API跳过执行')
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user