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:06 +02:00
committed by GitHub
parent e19f06929a
commit 60a9c8a98b

View File

@@ -1017,7 +1017,7 @@ class Downloader(commands.Cog):
else:
message += _("Unpinned {cog}").format(cognames[0])
if not_pinned:
if len(unpinned) > 1:
if len(not_pinned) > 1:
message += _("\nThese cogs weren't pinned: ") + humanize_list(not_pinned)
else:
message += _("\n{cog} was already not pinned.").format(cog=not_pinned[0])