Fix api key coverage

This commit is contained in:
2011-07-19 13:29:03 +01:00
parent d2b15857cc
commit cc3183eb0b

View File

@@ -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)