Explicitly return None

This commit is contained in:
Luke Tainton 2024-03-26 22:26:13 +00:00
parent 056dcf4155
commit f1248df4af

View File

@ -127,7 +127,7 @@ class MakeMemeCallback(Command):
def execute(self, message, attachment_actions, activity) -> Response | None: def execute(self, message, attachment_actions, activity) -> Response | None:
if self.error: if self.error:
return return None
self.meme_filename: str = img.generate_api_url( self.meme_filename: str = img.generate_api_url(
self.meme, self.text_top, self.text_bottom self.meme, self.text_top, self.text_bottom