1
0
Fork 0
mirror of synced 2024-06-03 03:04:33 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2016-07-24 09:04:12 -05:00
parent fb7edc4523
commit 8d9c6eb047

View file

@ -52,7 +52,7 @@ class Overwatch:
await self.bot.say(
"Overwatch stats for {}: ```py\n{}```".format(user.name, fmt.title().replace("_", " ")))
else:
url = base_url + "{}/heroes/{}".format(bt, hero.lower().replace('-', '')
url = base_url + "{}/heroes/{}".format(bt, hero.lower().replace('-', ''))
with aiohttp.ClientSession() as s:
async with s.get(url) as r:
if r.status == 500