From 5ecf405533bbf84e76993882b2d3ff2f2b2edfc9 Mon Sep 17 00:00:00 2001 From: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> Date: Wed, 6 Nov 2024 18:07:20 +0000 Subject: [PATCH] Update main.py Signed-off-by: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0682a04..9827a4b 100644 --- a/main.py +++ b/main.py @@ -96,7 +96,7 @@ def msg(event): elif event.content[:5] == "calc ": string = html.unescape(event.content[5:]) def send_r(): - r.send(indent(urlopen(f"https://safe-exec.onrender.com/{quote(string, safe='')}").read().decode("utf-8"))) + r.send(indent(urlopen(f"https://safe-exec.onrender.com/calc/{quote(string, safe='')}").read().decode("utf-8"))) p = multiprocessing.Process(target=send_r) p.start() p.join(15)