From 9ea76f6f01f89b546f7a0a3c7dd1ff137c182da6 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 13 Aug 2016 20:16:09 +0200 Subject: [PATCH] Bugfix --- league.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/league.py b/league.py index 37fbcf4c..b29cf410 100644 --- a/league.py +++ b/league.py @@ -47,7 +47,7 @@ async def get_player_info(region: str, summonerid: int, **kwargs): print("[League] Getting profile info for: {region} {summonerid}".format(region=region, summonerid=summonerid)) # GET the json API response r = await loop.run_in_executor(None, requests.get, 'https://{region}.api.pvp.net/api/lol/{region}/v1.4/summoner/' - '{summonerid}/entry?api_key={token}' + '{summonerid}?api_key={token}' .format(region=region, summonerid=summonerid, token=token)) # Ensure the request is successful if r.status_code == 200: