Stop using v3(dev) Alliance resource

It keeps changing.
This commit is contained in:
Adarnof 2017-09-12 20:16:15 -04:00 committed by GitHub
parent a969b6117b
commit 8f58f76001

View File

@ -228,7 +228,7 @@ class EveProvider(object):
@python_2_unicode_compatible
class EveSwaggerProvider(EveProvider):
def __init__(self, token=None, adapter=None):
self.client = esi_client_factory(token=token, Alliance='v3', Character='v4', Corporation='v2', Universe='v2')
self.client = esi_client_factory(token=token, Alliance='v2', Character='v4', Corporation='v2', Universe='v2')
self.adapter = adapter or self
def __str__(self):
@ -244,7 +244,7 @@ class EveSwaggerProvider(EveProvider):
data['alliance_name'],
data['ticker'],
corps,
data['executor_corporation_id'],
data['executor_corp'],
)
return model
except HTTPNotFound: