Update redbot/cogs/downloader/downloader.py

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
Pred
2021-04-04 18:03:12 +02:00
committed by GitHub
parent 60a9c8a98b
commit d0fd0e72b0

View File

@@ -1065,7 +1065,7 @@ class Downloader(commands.Cog):
message = ""
if cogs_to_update:
cognames = [cog.name for cog in cogs_to_update]
if len(cogs_to_update) > 1:
if len(cognames) > 1:
message += _("These cogs can be updated: ") + humanize_list(
tuple(map(inline, cognames))
)