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