1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2016-10-01 19:42:34 -05:00
parent 3df0e49782
commit 931b0f3cec

View file

@ -194,7 +194,7 @@ class Stats:
if ctx.message.channel.permissions_for(ctx.message.server.me).attach_files:
banner = await images.create_banner(ctx.message.author, "Battling Leaderboard", output)
else:
fmt = "\n".join("#{}) {}".format(key, value for key, value in output))
fmt = "\n".join("#{}) {}".format(key, value) for key, value in output.items())
await self.bot.say("Battling leaderboard for this server:```\n{}```".format(fmt))
@commands.command(pass_context=True, no_pm=True)