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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user