Add all5-getters for pyfa

This commit is contained in:
DarkPhoenix
2011-11-21 21:39:58 +04:00
parent e590b5b59d
commit 4be9ae60e1

View File

@@ -40,6 +40,14 @@ class Character():
def all0ID(self):
return self.all0().ID
def all5(self):
all5 = eos.types.Character.getAll5()
eos.db.commit()
return all5
def all5ID(self):
return self.all5().ID
def getCharacterList(self):
baseChars = [eos.types.Character.getAll0(), eos.types.Character.getAll5()]
# Flush incase all0 & all5 weren't in the db yet