1
0
Fork 0
mirror of synced 2024-09-28 23:41:41 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2016-08-19 18:03:54 -05:00
parent d0f7d8d784
commit d70f9d5a76

View file

@ -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