[fix] 修复关键字监控函数错误,导致重复通知
This commit is contained in:
parent
fd6441aec3
commit
a1b9633afd
@ -209,7 +209,7 @@ def get_today_keyword_info(today_keyword_info_data):
|
|||||||
try:
|
try:
|
||||||
today_keyword_name = today_keyword_info_data[i]['keyword_name']
|
today_keyword_name = today_keyword_info_data[i]['keyword_name']
|
||||||
if exist_cve(today_keyword_name) == 1:
|
if exist_cve(today_keyword_name) == 1:
|
||||||
Verify = query_cve_info_database(today_keyword_name)
|
Verify = query_keyword_info_database(today_keyword_name)
|
||||||
if Verify == 0:
|
if Verify == 0:
|
||||||
print("[+] 数据库里不存在{}".format(today_keyword_name))
|
print("[+] 数据库里不存在{}".format(today_keyword_name))
|
||||||
today_all_keyword_info.append(today_keyword_info_data[i])
|
today_all_keyword_info.append(today_keyword_info_data[i])
|
||||||
|
Loading…
Reference in New Issue
Block a user