This commit is contained in:
ad1rie1 2020-01-14 17:08:38 +01:00 committed by Nathaniel Case
parent 1b3ca349eb
commit 9272e3d547

View file

@ -75,7 +75,7 @@ class ActionModule(ActionBase):
for cmd in commands:
display.vvvvv('>>> %s' % cmd)
tn.write(to_bytes(cmd + "\n"))
index, match, out = tn.expect(list(map(to_bytes, prompts)))
index, match, out = tn.expect(list(map(to_bytes, prompts)), timeout=timeout)
display.vvvvv('<<< %s' % cmd)
output.append(out)
sleep(pause)