Skip to content

Commit

Permalink
Update Github-CVE-Listener.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kira-Pgr authored Feb 4, 2023
1 parent 44cf190 commit 6e9bc6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Github-CVE-Listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def getid(respJson):
# if empty or have README only
if(int(respJson["items"][0]["size"]) == 0):
print("[WARN] Repo is empty or only contains readme...Skipping...")
#exit(0)
exit(0)
readme = "https://raw.githubusercontent.com/" + str(respJson["items"][0]["full_name"]) + "/main/README.md"
readme_content = requests.get(readme).text
if str(cve_id) == "[]" and respJson["items"][0]["description"]:
Expand Down

0 comments on commit 6e9bc6a

Please sign in to comment.