diff --git a/minato_namikaze/bot_files/cogs/polls.py b/minato_namikaze/bot_files/cogs/polls.py index 1c74e861..e5036f11 100644 --- a/minato_namikaze/bot_files/cogs/polls.py +++ b/minato_namikaze/bot_files/cogs/polls.py @@ -96,9 +96,7 @@ def check(m): "message", timeout=60, check=check ) except: - await ctx.send( - "You didn't answer the questions in Time" - ) + await ctx.send("You didn't answer the questions in Time") return options.append(options_message.content) diff --git a/minato_namikaze/bot_files/lib/mendeleev/econf.py b/minato_namikaze/bot_files/lib/mendeleev/econf.py index 9209eeb5..9326d52d 100644 --- a/minato_namikaze/bot_files/lib/mendeleev/econf.py +++ b/minato_namikaze/bot_files/lib/mendeleev/econf.py @@ -249,10 +249,7 @@ def nvalence(self, block, method=None): if block == "d": if method == "simple": return 2 - return ( - self.conf[(self.max_n(), "s")] + - self.conf[(self.max_n() - 1, "d")] - ) + return self.conf[(self.max_n(), "s")] + self.conf[(self.max_n() - 1, "d")] elif block == "f": return 2 else: