[O] Shorten

This commit is contained in:
2024-12-17 01:40:40 -05:00
parent bfffc44676
commit 00e1ffa374
+1 -2
View File
@@ -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,