From c4eb6cdcfa3832fe9164afe11a9de7afd2c1e937 Mon Sep 17 00:00:00 2001 From: Jing Ling Date: Sun, 9 Feb 2020 16:10:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E5=8F=8B=E5=A5=BD=E7=9A=84=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/common/module.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oneforall/common/module.py b/oneforall/common/module.py index 5b6592f..88ef538 100644 --- a/oneforall/common/module.py +++ b/oneforall/common/module.py @@ -39,11 +39,12 @@ class Module(object): def check(self, *apis): """ 简单检查是否配置了api信息 + :param apis: api信息元组 :return: 检查结果 """ if not all(apis): - logger.log('ALERT', f'{self.source}模块API配置有误跳过执行') + logger.log('ALERT', f'{self.source}模块没有配置API跳过执行') return False return True