This commit is contained in:
Emmanuel Garette 2019-11-29 16:38:01 +01:00
parent df999da117
commit 21b8e1566c

View File

@ -66,7 +66,7 @@ class Parser:
verify=False)
code = req.status_code
if code != 200:
err = get_error_from_http(req)
err = self.get_error_from_http(req)
raise Exception('unable to load url ({}): {} ({})'.format(self.remote_url,
err,
code))