mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Fix api key coverage
This commit is contained in:
@@ -54,7 +54,7 @@ class EVEPlayerCorporation(EVEAPIModel):
|
||||
else:
|
||||
membercount = self.member_count
|
||||
|
||||
if len(self.api_keys) and membercount:
|
||||
if self.api_keys and membercount:
|
||||
return (float(self.api_keys) / membercount) * 100
|
||||
else:
|
||||
return float(0.0)
|
||||
|
||||
Reference in New Issue
Block a user