mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-07 09:28:58 +00:00
VMRay: fix comparison of list and int instead of len and int
This commit is contained in:
parent
1e4dd360c3
commit
4d15c8427e
@ -89,7 +89,7 @@ class VMRayAnalyzer(Analyzer):
|
||||
else:
|
||||
level = "info"
|
||||
|
||||
if r["reports"] > 1:
|
||||
if len(r["reports"]) > 1:
|
||||
value = "{}( from scan {})".format(s["score"], i)
|
||||
else:
|
||||
value = "{}".format(s["score"])
|
||||
|
Loading…
Reference in New Issue
Block a user