VMRay: fix comparison of list and int instead of len and int

This commit is contained in:
Marc Hoersken 2020-06-08 10:17:44 +02:00 committed by dadokkio
parent 1e4dd360c3
commit 4d15c8427e

View File

@ -89,7 +89,7 @@ class VMRayAnalyzer(Analyzer):
else: else:
level = "info" level = "info"
if r["reports"] > 1: if len(r["reports"]) > 1:
value = "{}( from scan {})".format(s["score"], i) value = "{}( from scan {})".format(s["score"], i)
else: else:
value = "{}".format(s["score"]) value = "{}".format(s["score"])