Correct typo in exception handling

This commit is contained in:
Adarnof 2017-01-23 23:28:55 -05:00
parent 88534837e2
commit 5738b015c3

View File

@ -323,7 +323,7 @@ class EveApiManager:
if int(e.code) == 222: if int(e.code) == 222:
raise EveApiManager.ApiInvalidError(api_id) raise EveApiManager.ApiInvalidError(api_id)
raise e raise e
except (requests.exceptions.RequestExeception, HTTPError, URLError) as e: except (requests.exceptions.RequestException, HTTPError, URLError) as e:
raise EveApiManager.ApiServerUnreachableError(e) raise EveApiManager.ApiServerUnreachableError(e)
auth = AuthServicesInfo.objects.get(user=user) auth = AuthServicesInfo.objects.get(user=user)
states = [auth.state] states = [auth.state]