From 5e950f986508e1f156869cd5f9e99287a01a7062 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Mon, 19 Dec 2022 05:33:48 +0000 Subject: [PATCH] Format Python code with psf/black push --- cogs/image_prompt_optimizer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cogs/image_prompt_optimizer.py b/cogs/image_prompt_optimizer.py index 89fa51d..2f11fa1 100644 --- a/cogs/image_prompt_optimizer.py +++ b/cogs/image_prompt_optimizer.py @@ -57,10 +57,11 @@ class ImgPromptOptimizer(commands.Cog, name="ImgPromptOptimizer"): if isinstance(error, commands.CommandNotFound): return elif isinstance(error, commands.InvalidEndOfQuotedStringError): - await ctx.reply("There was an error while parsing your input. Please ensure that all quotation marks are closed and there is a space after the last quotation mark") + await ctx.reply( + "There was an error while parsing your input. Please ensure that all quotation marks are closed and there is a space after the last quotation mark" + ) raise error - @commands.command() async def imgoptimize(self, ctx, *args):