Added portraits in the list, because why not.

This commit is contained in:
Ydmir
2016-01-24 22:32:54 +01:00
parent 986816fdc7
commit bd7bbc9339
3 changed files with 21 additions and 10 deletions

View File

@@ -16,4 +16,4 @@ class EveWhoManager():
jsondata = requests.get(url).content
data=json.loads(jsondata.decode())
return {row["character_id"]:{"name":row["name"]} for row in data["characters"]}
return {row["character_id"]:{"name":row["name"], "id":row["character_id"]} for row in data["characters"]}