1
0
Fork 0
mirror of synced 2024-06-28 03:00:55 +12:00

Fixed error where the url was not being retrieved

This commit is contained in:
Phxntxm 2016-08-08 16:37:44 -05:00
parent 57c17bd952
commit 7bec2d260a

View file

@ -44,6 +44,7 @@ class Picarto:
if not member_url:
await self.bot.say("That user does not have a picarto url setup!")
return
member_url = member_url['picarto_url']
with aiohttp.ClientSession(headers={"User-Agent": "Bonfire/1.0.0"}) as s:
async with s.get(member_url) as r: