mirror of
https://github.com/nikdoof/evestandings.git
synced 2025-12-22 14:29:23 +00:00
Small cleanups and fix when no config is provided.
This commit is contained in:
@@ -48,7 +48,6 @@ class Standings(object):
|
||||
standings = OrderedDict((x, []) for x in ['Excellent', 'Good', 'Neutral', 'Bad', 'Terrible'])
|
||||
self._parse_list(res.allianceContactList, standings)
|
||||
self._parse_list(res.corporateContactList, standings)
|
||||
print standings
|
||||
for x in ['Excellent', 'Good', 'Neutral', 'Bad', 'Terrible']:
|
||||
standings[x] = sorted(standings[x], key=lambda v: -int(v[3]))
|
||||
self._standings_cache = standings
|
||||
|
||||
Reference in New Issue
Block a user