DavidLiu há 3 meses atrás
pai
commit
955ccd4982
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/core/voip/bot.py

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

@@ -648,7 +648,7 @@ class BotAgent:
 
     def main_thread_daemon(self):
         while not self.daemon_stopping:
-            _lock = self.play_complete_degree_check()
+            _lock = self._play_complete_degree_check()
             if _lock:
                 self.logger.error("daviddebugger::play time greater than 60s, will restart")
                 self.restart()
@@ -668,7 +668,7 @@ class BotAgent:
                 continue
             time.sleep(0.1)
 
-    def play_complete_degree_check(self):
+    def _play_complete_degree_check(self):
         for k, v in list(self.call_players.items()):
             if len(v) == 2:
                 self.call_players.pop(k)