From abb493f3aa0fbf7c70f7be7a25943a0465ef18fc Mon Sep 17 00:00:00 2001 From: Anubhav1603 Date: Thu, 24 Sep 2020 16:48:25 +0530 Subject: corrected order of logging --- bot/exts/valentines/valentine_zodiac.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot') diff --git a/bot/exts/valentines/valentine_zodiac.py b/bot/exts/valentines/valentine_zodiac.py index 7d428878..0fd748f0 100644 --- a/bot/exts/valentines/valentine_zodiac.py +++ b/bot/exts/valentines/valentine_zodiac.py @@ -67,9 +67,9 @@ class ValentineZodiac(commands.Cog): break else: zodiac = None - log.info("Wrong Zodiac date or month provided") - return zodiac + log.info("Wrong Zodiac date or month provided") log.info("Zodiac name sent") + return zodiac @commands.group(name="partnerzodiac", invoke_without_command=True) async def partner_zodiac(self, ctx: commands.Context, zodiac_sign: str) -> None: -- cgit v1.2.3