fix
This commit is contained in:
parent
df999da117
commit
21b8e1566c
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue