mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Fix account lookup, also show accounts on the charlist
This commit is contained in:
@@ -69,7 +69,7 @@ class EVEPlayerCharacter(EVEAPIModel):
|
||||
return None
|
||||
|
||||
@property
|
||||
def account(self)
|
||||
def account(self):
|
||||
if self.eveaccount_set.count():
|
||||
return self.eveaccount_set.all()[0]
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user