updated sla for sheesh
This commit is contained in:
@@ -54,7 +54,7 @@ class Sheesh(Challenge):
|
||||
r = proc.stdout.read
|
||||
while True:
|
||||
if time.time() - start > timeout:
|
||||
raise TimeoutError(f"Timeout waiting for '{token}'")inp
|
||||
raise TimeoutError(f"Timeout waiting for '{token}'")
|
||||
ch = r(1)
|
||||
if ch == "" and proc.poll() is not None:
|
||||
raise RuntimeError("Process ended while waiting for prompt")
|
||||
|
||||
Reference in New Issue
Block a user