diff --git a/app/blueprints/strelka.py b/app/blueprints/strelka.py index 1aa94a1..ea6bba2 100644 --- a/app/blueprints/strelka.py +++ b/app/blueprints/strelka.py @@ -77,6 +77,7 @@ def submit_file( None. """ submitted_hash = "" + total_scanned_with_hits = [] if "file" not in request.files and b"hash" not in request.data: return ( @@ -114,7 +115,6 @@ def submit_file( submitted_description = submission["description"] submitted_hash = submission["hash"] submitted_type = "virustotal" - total_scanned_with_hits = [] if os.environ.get("VIRUSTOTAL_API_KEY"): file = create_vt_zip_and_download(