diff options
author | Aldo Cortesi <aldo@corte.si> | 2016-11-04 10:59:18 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-04 10:59:18 +1300 |
commit | c2c44889bb17eb612cf4ef23a5e613766a877b59 (patch) | |
tree | d2ef54d47132df3fcac6fb04af413831a3e6022f | |
parent | 8d9fdc416ad3bc5bb6de41397243c9d3888377de (diff) | |
parent | eef97555d7def7da25353e65ee8cf528d7608cc3 (diff) | |
download | mitmproxy-c2c44889bb17eb612cf4ef23a5e613766a877b59.tar.gz mitmproxy-c2c44889bb17eb612cf4ef23a5e613766a877b59.tar.bz2 mitmproxy-c2c44889bb17eb612cf4ef23a5e613766a877b59.zip |
Merge pull request #1711 from navinpai/1541
Allow pathoc to pause forever at end of message
-rw-r--r-- | pathod/language/writer.py | 4 |
1 files changed, 3 insertions, 1 deletions
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": |