aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcogs/utils.py2
1 files changed, 1 insertions, 1 deletions
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")