Resetting the active_counters attributes when initcounters is called

This commit is contained in:
2026-07-17 08:16:57 +02:00
committed by edipretoro
parent 7a7cc79ac5
commit 518e9957b4
+1
View File
@@ -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