From b4abc23d61ae6647d128fa2baac4198c1b35520d Mon Sep 17 00:00:00 2001 From: Mango0x45 Date: Tue, 5 Jan 2021 09:46:54 +0100 Subject: Fix dumb stuff --- cogs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/utils.py b/cogs/utils.py index 5c0536b..2e0bfc1 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -42,7 +42,7 @@ async def bc_calc(ctx, eqn: str): with open("temp.txt", "w") as f: f.write(eqn) result = subprocess.check_output( - f'echo "scale=20; $(cat temp.txt)" | /bin/bc bc_funcs/*', shell=True + f'echo "scale=20; $(cat temp.txt)" | bc bc_funcs/*', shell=True ) os.remove("temp.txt") -- cgit v1.2.3