From 271d31dbfef3828096ad6a25abd031590453dfc2 Mon Sep 17 00:00:00 2001 From: sodme Date: Thu, 7 Oct 2021 23:09:10 +0800 Subject: [PATCH] Update github_cve_monitor.py --- github_cve_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_cve_monitor.py b/github_cve_monitor.py index 2c56d74..89b24d2 100644 --- a/github_cve_monitor.py +++ b/github_cve_monitor.py @@ -42,7 +42,7 @@ def load_config(): app_name = config['all_config']['tgbot'][3]['app_name'] return app_name,github_token,tgbot_token,tgbot_group_id elif int(config['all_config']['tgbot'][0]['enable']) == 0 and int(config['all_config']['feishu'][0]['enable']) == 0 and int(config['all_config']['server'][0]['enable']) == 0 and int(config['all_config']['dingding'][0]['enable']) == 0: - print("[-] 配置文件有误,三个社交软件的enable不能为0") + print("[-] 配置文件有误,四个社交软件的enable不能为0") github_headers = { 'Authorization': "token {}".format(load_config()[1]) # 替换自己的github token https://github.com/settings/tokens/new