From d70f9d5a766b8401d768a4a8068a7ba28dbdaff3 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Fri, 19 Aug 2016 18:03:54 -0500 Subject: [PATCH] Corrected syntax error --- cogs/steam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/steam.py b/cogs/steam.py index 5667b4a..ed780f9 100644 --- a/cogs/steam.py +++ b/cogs/steam.py @@ -119,7 +119,7 @@ class Steam: # Make the request and get the data in json response, all url's we're using will give a json response try: async with self.session.get(url, headers=self.headers) as response: - data = response.json() + data = await response.json() except: await self.bot.say("Sorry, I failed looking up that user's information. I'll try better next time ;-;") return