From 38a689ccf0d233bc93a01c1fa15eb68ebaf37194 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 31 Jul 2020 16:17:28 +0200 Subject: [PATCH] Fix invalid list comprehension --- royalpack/commands/dog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalpack/commands/dog.py b/royalpack/commands/dog.py index 2179925e..d4ac318f 100644 --- a/royalpack/commands/dog.py +++ b/royalpack/commands/dog.py @@ -159,7 +159,7 @@ class DogCommand(rc.Command): breed = args.joined() if breed: if breed == "list": - await data.reply("\n".join(["ℹ️ Razze disponibili:", [f"[c]{breed}[/c]" for breed in self._breeds]])) + await data.reply("\n".join(["ℹ️ Razze disponibili:", *[f"[c]{breed}[/c]" for breed in self._breeds]])) if breed in self._breeds: url = f"https://dog.ceo/api/breed/{breed}/images/random" else: