DavidLiu 3 mesiacov pred
rodič
commit
d528b16190
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      src/core/voip/bot.py

+ 2 - 0
src/core/voip/bot.py

@@ -592,7 +592,9 @@ class BotAgent:
             self.ep.libHandleEvents(100)
 
     def register_per_hours(self):
+        self.counter += 1
         if self.counter % 1000 == 0:
+            self.counter = 0
             for acc in self.accounts:
                 print(acc.getId(), acc.isValid())