Contact labels have been added to the XML API
regner opened this issue · 2 comments
regner commented
bastianh commented
looks like the update broke the current version of evelink. I'm currently at work so I can't look into the details, but got a sentry message:
evelink.parsing.contact_list in parse_contact_list
KeyError: 'corporateContactLabels'
File "utils/eveapi_tools.py", line 10, in get_corp_contacts
contacts,_,_ = corp.contacts()
File "evelink/api.py", line 515, in wrapper
return self.method(client, *args, **kw)
File "evelink/corp.py", line 288, in contacts
return api.APIResult(parse_contact_list(api_result.result), api_result.timestamp, api_result.expires)
File "evelink/parsing/contact_list.py", line 12, in parse_contact_list
contact_list = result[LABEL_MAP[rowset.get('name')]] = {}