Fix syntax issue

This commit is contained in:
Predeactor
2020-08-17 23:40:01 +00:00
parent f2bdb0e225
commit 2a2bc2104f

View File

@@ -1449,16 +1449,13 @@ class Downloader(commands.Cog):
+ _("\nYou can use {command} to see the updated statements.\n").format( + _("\nYou can use {command} to see the updated statements.\n").format(
command=inline(f"{ctx.clean_prefix}cog info <repo_name> <cog_name>") command=inline(f"{ctx.clean_prefix}cog info <repo_name> <cog_name>")
) )
)
else: else:
message += ( message += _("End user data statements for {cog} have been changed.").format(
_("End user data statements for {cog} have been changed.").format(
cog=cogs_with_changed_eud_statement[0] cog=cogs_with_changed_eud_statement[0]
) ) + _("\nYou can use {command} to see the updated statements.\n").format(
+ _("\nYou can use {command} to see the updated statements.\n").format(
command=inline(f"{ctx.clean_prefix}cog info <repo_name> <cog_name>") command=inline(f"{ctx.clean_prefix}cog info <repo_name> <cog_name>")
) )
)
)
if failed_cogs: if failed_cogs:
cognames = [cog.name for cog in failed_cogs] cognames = [cog.name for cog in failed_cogs]
if len(failed_cogs) > 1: if len(failed_cogs) > 1: