From 72f0ba204566d9eb66072af34508b16eb5872404 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sun, 24 Dec 2017 12:42:49 -0500 Subject: [PATCH] Fill out the save() method. --- xonstat/glicko.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(): -- 2.39.2