chg: [virustotal] make flake8 happy

pull/513/head
Alexandre Dulaunoy 2021-06-11 14:51:30 +02:00
parent 7248eb72e5
commit 94795e4993
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 2 additions and 1 deletions

View File

@ -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.',