implement round->sql support

This commit is contained in:
Yannik Schmidt
2020-06-20 14:24:47 +02:00
parent 31ecac6009
commit 6513451b83
4 changed files with 29 additions and 1 deletions

View File

@@ -122,6 +122,8 @@ def eventBlob():
def evaluateRound(matchRound):
'''Run a match round throught the backand (includeing persisting it'''
db.saveRound(matchRound)
# winners/losers are both dictionaries in the form of { PlayerInDatabase : newRating } #
winnersRated, losersRated = ts.evaluateRound(matchRound)