From 94795e49936e555040a2f13e61dfa8a43a25f360 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 11 Jun 2021 14:51:30 +0200 Subject: [PATCH] chg: [virustotal] make flake8 happy --- misp_modules/modules/expansion/virustotal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/virustotal.py b/misp_modules/modules/expansion/virustotal.py index 2922417..2c82787 100644 --- a/misp_modules/modules/expansion/virustotal.py +++ b/misp_modules/modules/expansion/virustotal.py @@ -215,9 +215,10 @@ class VirusTotalParser(object): 'http': f'{scheme}://{host}', 'https': f'{scheme}://{host}' } - self.proxies=proxies + self.proxies = proxies return True + def parse_error(status_code): status_mapping = {204: 'VirusTotal request rate limit exceeded.', 400: 'Incorrect request, please check the arguments.',