mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Now populates CEO character for corporations
This commit is contained in:
@@ -226,5 +226,8 @@ class EVEPlayerCorporation(EVEAPIModel):
|
||||
# Something weird has happened
|
||||
continue
|
||||
|
||||
ceoid = dom.getElementsByTagName('ceoID')[0].firstChild.nodeValue
|
||||
self.ceo_character, created = EVEPlayerCharacter.objects.get_or_create(id=ceoid)
|
||||
|
||||
self.api_last_updated = datetime.utcnow()
|
||||
self.save()
|
||||
|
||||
Reference in New Issue
Block a user