From 8d3db3ea3fe8d2b4d4c841a69b24fff4b2f332ba Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Thu, 2 Sep 2010 17:13:47 +0200 Subject: [PATCH] Don't forget to call flush after calling fill, else we'll get orphaned dummies --- controller/fit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/fit.py b/controller/fit.py index 71fd692b4..016074af1 100644 --- a/controller/fit.py +++ b/controller/fit.py @@ -72,6 +72,7 @@ class Fit(object): fit = eos.db.getFit(fitID) fit.fill() + eos.db.saveddata_session.flush() return fit def appendItem(self, fitID, itemID):