From 00e1ffa374c0c2d6dcf641d3d2d798b61f0c7db0 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Tue, 17 Dec 2024 01:40:40 -0500 Subject: [PATCH] [O] Shorten --- server/host.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/host.py b/server/host.py index e312a2d..27734fe 100644 --- a/server/host.py +++ b/server/host.py @@ -77,11 +77,10 @@ async def solve(request: Request): tf.write_text(body) # Run the solver asynchronously with a 60-second timeout - solver_path = src / "slsolver" try: # Create subprocess asynchronously process = await asyncio.create_subprocess_exec( - str(solver_path), + str(src / "slsolver"), str(tf), cwd=str(src), stdout=asyncio.subprocess.PIPE,