Add active column. Looping the fit to apply it x amount of times doesn't seem to work. Probably because it's been flagged calculated and returns early

This commit is contained in:
blitzmann
2015-07-07 00:25:24 -04:00
parent 2bca3ddcc8
commit b95a10d284
5 changed files with 15 additions and 10 deletions

View File

@@ -365,7 +365,7 @@ class Fit(object):
thing.state = State.OFFLINE
elif isinstance(thing, eos.types.Fit):
print "toggle fit"
thing.projectionInfo.amount = not thing.projectionInfo.amount
thing.projectionInfo.active = not thing.projectionInfo.active
eos.db.commit()
self.recalc(fit)