mirror of https://github.com/MISP/misp-modules
chg: [virustotal] make flake8 happy
parent
7248eb72e5
commit
94795e4993
|
@ -215,9 +215,10 @@ class VirusTotalParser(object):
|
||||||
'http': f'{scheme}://{host}',
|
'http': f'{scheme}://{host}',
|
||||||
'https': f'{scheme}://{host}'
|
'https': f'{scheme}://{host}'
|
||||||
}
|
}
|
||||||
self.proxies=proxies
|
self.proxies = proxies
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
def parse_error(status_code):
|
def parse_error(status_code):
|
||||||
status_mapping = {204: 'VirusTotal request rate limit exceeded.',
|
status_mapping = {204: 'VirusTotal request rate limit exceeded.',
|
||||||
400: 'Incorrect request, please check the arguments.',
|
400: 'Incorrect request, please check the arguments.',
|
||||||
|
|
Loading…
Reference in New Issue