From eef97555d7def7da25353e65ee8cf528d7608cc3 Mon Sep 17 00:00:00 2001 From: Naveen Pai Date: Fri, 4 Nov 2016 02:12:20 +0530 Subject: Allow forever wait at end of message #1541 --- pathod/language/writer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pathod') diff --git a/pathod/language/writer.py b/pathod/language/writer.py index ac0f44da..cdb62c3a 100644 --- a/pathod/language/writer.py +++ b/pathod/language/writer.py @@ -57,7 +57,9 @@ def write_values(fp, vals, actions, sofar=0, blocksize=BLOCKSIZE): while actions: a = actions.pop() if a[1] == "pause": - time.sleep(a[2]) + time.sleep( + FOREVER if a[2] == "f" else a[2] + ) elif a[1] == "disconnect": return True elif a[1] == "inject": -- cgit v1.2.3