From: Ant Zucaro Date: Sun, 24 Dec 2017 17:42:49 +0000 (-0500) Subject: Fill out the save() method. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=72f0ba204566d9eb66072af34508b16eb5872404;p=xonotic%2Fxonstat.git Fill out the save() method. --- diff --git a/xonstat/glicko.py b/xonstat/glicko.py index 85d2641..4aed505 100644 --- a/xonstat/glicko.py +++ b/xonstat/glicko.py @@ -367,7 +367,10 @@ class GlickoProcessor(object): Put all changed PlayerElo and PlayerGameStat instances into the session to be updated or inserted upon commit. """ - pass + for wip in self.wips.values(): + session.add(wip.pg) + + session.commit() def main():