]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Fill out the save() method.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 24 Dec 2017 17:42:49 +0000 (12:42 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 24 Dec 2017 17:42:49 +0000 (12:42 -0500)
xonstat/glicko.py

index 85d2641c80f7575e00479ff3710f81b046aaf402..4aed505654259e13d6e58a0b328523436148d3eb 100644 (file)
@@ -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():