Resetting the active_counters attributes when initcounters is called

This commit is contained in:
2026-07-15 21:07:05 +02:00
parent 10f0555011
commit 8e42faf6af
+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