txlyre 1 day ago
parent
commit
92a7779964
1 changed files with 1 additions and 1 deletions
  1. 1 1
      chess0.py

+ 1 - 1
chess0.py

@@ -73,7 +73,7 @@ class ChessManager:
 
 
     async def begin(self, id):
     async def begin(self, id):
         if id in self.sessions:
         if id in self.sessions:
-            await self.stop(id)
+            await self.end(id)
 
 
         _, engine = await chess.engine.popen_uci(self.engine_path)
         _, engine = await chess.engine.popen_uci(self.engine_path)