Resetting the active_counters attributes when initcounters is called
This commit is contained in:
@@ -90,6 +90,7 @@ class Minter(Persistent):
|
|||||||
# - set value of this counter to 0
|
# - set value of this counter to 0
|
||||||
# - add the counter to saclist
|
# - add the counter to saclist
|
||||||
# - substract pctr from t
|
# - substract pctr from t
|
||||||
|
self.active_counters = []
|
||||||
maxcounters = 293
|
maxcounters = 293
|
||||||
self.percounter = int(self.oatop / maxcounters + 1)
|
self.percounter = int(self.oatop / maxcounters + 1)
|
||||||
t = self.oatop
|
t = self.oatop
|
||||||
|
|||||||
Reference in New Issue
Block a user