updated sla for sheesh

This commit is contained in:
lightningitoid committed 2025-10-27 08:10:22 +07:00
1 parent f61a42fa59
commit fddf357524
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ class Sheesh(Challenge):
r = proc.stdout.read r = proc.stdout.read
while True: while True:
if time.time() - start > timeout: if time.time() - start > timeout:
raise TimeoutError(f"Timeout waiting for '{token}'")inp raise TimeoutError(f"Timeout waiting for '{token}'")
ch = r(1) ch = r(1)
if ch == "" and proc.poll() is not None: if ch == "" and proc.poll() is not None:
raise RuntimeError("Process ended while waiting for prompt") raise RuntimeError("Process ended while waiting for prompt")