From 936ffa8b06f339de37f6246e45858bbd215cd204 Mon Sep 17 00:00:00 2001 From: Samlon Date: Mon, 11 Aug 2025 18:08:59 +0200 Subject: more logs!?!?! and fixes --- cogs/math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cogs/math.py') diff --git a/cogs/math.py b/cogs/math.py index 123d7d0..8a2644c 100644 --- a/cogs/math.py +++ b/cogs/math.py @@ -17,7 +17,7 @@ class Math(commands.Cog): ) async def math(self, ctx: ApplicationContext, equation: str): try: - math = subprocess.check_output(f"qalc -e {equation}", shell=True) + math = subprocess.check_output(f"qalc -e '{equation}'", shell=True) await ctx.respond(f"{equation} = {math.decode('utf-8').strip()}") logger.info(f"Math command executed: {equation}") except Exception as e: -- cgit v1.2.3