txlyre 1 day ago
parent
commit
41c5a572f5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      chess0.py

+ 2 - 2
chess0.py

@@ -109,14 +109,14 @@ class ChessManager:
     async def skip(self, id):
     async def skip(self, id):
         await self.move(id)
         await self.move(id)
 
 
-    async def svg(self, id):
+    def svg(self, id):
         session = self.sessions.get(id)
         session = self.sessions.get(id)
         if not session:
         if not session:
             raise KeyError(id)
             raise KeyError(id)
 
 
         return chess.svg.board(session.board)
         return chess.svg.board(session.board)
 
 
-    async def ascii(self, id):
+    def ascii(self, id):
         session = self.sessions.get(id)
         session = self.sessions.get(id)
         if not session:
         if not session:
             raise KeyError(id)
             raise KeyError(id)