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