aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Den4200 <[email protected]>2020-10-03 20:38:46 -0400
committerGravatar Den4200 <[email protected]>2020-10-03 20:38:46 -0400
commit9b63db31fc9b6fe6a726f711383cb38b2c44bd40 (patch)
tree08c3fa17531cfbb40b5ac7e11fa2f59d49e2ec9d
parentMerge pull request #835 from python-discord/bug/util/795/reminders-dupe-delete (diff)
Replace `map` with a more pythonic list comprehension.
-rw-r--r--bot/exts/info/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/site.py b/bot/exts/info/site.py
index 2d3a3d9f3..9e7f6b0a5 100644
--- a/bot/exts/info/site.py
+++ b/bot/exts/info/site.py
@@ -129,7 +129,7 @@ class Site(Cog):
)
if invalid_indices:
- indices = ', '.join(map(str, invalid_indices))
+ indices = ', '.join(str(index) for index in invalid_indices)
await ctx.send(f":x: Invalid rule indices: {indices}")
return