From 8029e2747a4fefc93c25dbdf14b1f19d3e098d5c Mon Sep 17 00:00:00 2001 From: gsd Date: Tue, 1 Aug 2023 17:34:20 +0300 Subject: [PATCH] await --- ext/python-a2s-rcon-api/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/python-a2s-rcon-api/service.py b/ext/python-a2s-rcon-api/service.py index 710fdb9..3c524fb 100644 --- a/ext/python-a2s-rcon-api/service.py +++ b/ext/python-a2s-rcon-api/service.py @@ -98,7 +98,7 @@ class SourceBackend: @self.app.post("/api/players") async def get_players(request: RCON_Request): #print(request.__dict__) - a2s_players = await VALVE_SERVER_PLAYERS(request.tuple_address) + a2s_players = VALVE_SERVER_PLAYERS(request.tuple_address) if(request.password == None): return Response(status_code = 403)