updated sla for sheesh
This commit is contained in:
1 parent
f61a42fa59
commit
fddf357524
1 file changed
+1
-1
@@ -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")
|
||||||
|
|||||||
Reference in new issue
Block a user