Browse Source

await

master
gsd 2 years ago
parent
commit
8029e2747a
  1. 2
      ext/python-a2s-rcon-api/service.py

2
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)

Loading…
Cancel
Save