Permalink
Browse files

Merge branch 'master' of https://github.com/cuckoobox/community

  • Loading branch information...
2 parents 64c0104 + ac6f56b commit 62ba665ee503dfdd2254f8b83fbd8226538dfbc3 @botherder botherder committed Oct 4, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 modules/signatures/known_virustotal.py
@@ -9,7 +9,8 @@ class KnownVirustotal(Signature):
def run(self, results):
if "virustotal" in results:
- if results["virustotal"]["positives"] > 0:
- return True
+ if "positives" in results["virustotal"]:
+ if results["virustotal"]["positives"] > 0:
+ return True
return False

0 comments on commit 62ba665

Please sign in to comment.