mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
Fix the error for empty author list in [p]findcog (#4042)
This commit is contained in:
parent
a7a18ad956
commit
326ae76fe0
@ -1387,7 +1387,11 @@ class Downloader(commands.Cog):
|
||||
cog_name = self.cog_name_from_instance(cog)
|
||||
installed, cog_installable = await self.is_installed(cog_name)
|
||||
if installed:
|
||||
made_by = humanize_list(cog_installable.author) or _("Missing from info.json")
|
||||
made_by = (
|
||||
humanize_list(cog_installable.author)
|
||||
if cog_installable.author
|
||||
else _("Missing from info.json")
|
||||
)
|
||||
repo_url = (
|
||||
_("Missing from installed repos")
|
||||
if cog_installable.repo is None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user