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

@ -218,6 +218,7 @@ class VirusTotalParser(object):
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.',