Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4D31 committed Jun 14, 2017
1 parent cd7a333 commit 999ca5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt-scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def slack_alerter(host, rd):
else:
for sev, hosts in rd.iteritems():
vulnhosts = "\n".join(hosts)
if sev == ("Critical" or "High"):
if sev in ("Critical", "High"):
color = "danger"
elif sev == "Medium":
color = "warning"
Expand Down

0 comments on commit 999ca5f

Please sign in to comment.