Use the new save/delete/commit methods from the backend

This commit is contained in:
cncfanatics
2010-09-06 11:02:43 +02:00
parent e71004f703
commit 8aa099d146
4 changed files with 38 additions and 19 deletions

View File

@@ -32,7 +32,7 @@ class Character():
def getCharacterList(self):
baseChars = [eos.types.Character.getAll0(), eos.types.Character.getAll5()]
# Flush incase all0 & all5 weren't in the db yet
eos.db.saveddata_session.commit()
eos.db.commit()
return map(lambda c: (c.ID, c.name), eos.db.getCharacterList())
def getSkillGroups(self):