Add getCharacter method

This commit is contained in:
DarkPhoenix
2011-11-22 21:52:14 +04:00
parent 9c0b39c919
commit f9af29a335

View File

@@ -55,6 +55,10 @@ class Character():
sFit = service.Fit.getInstance()
return map(lambda c: (c.ID, c.name, c == sFit.character), eos.db.getCharacterList())
def getCharacter(self, charID):
char = eos.db.getCharacter(charID)
return char
def getSkillGroups(self):
cat = eos.db.getCategory(16)
groups = []