diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-07 19:34:31 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-07 19:34:31 +0200 |
| commit | 90c009fc968f12f7435f6ed17e7c85c0a98c46f8 (patch) | |
| tree | cb12672a414862c6e39319a8c1cbf875084c48fd | |
| parent | d9a611a04028931f88f4241bd88eaa6f60884672 (diff) | |
debuggin..
| -rw-r--r-- | live-mogrify.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/live-mogrify.py b/live-mogrify.py index 954cd0b..1d8126a 100644 --- a/live-mogrify.py +++ b/live-mogrify.py @@ -21,6 +21,7 @@ import sys import math import subprocess import glob +import gevent from time import sleep from rpc import CortexRPC @@ -365,6 +366,7 @@ def process_live_input(opt, data_opt, rpc_client, model): if data_opt.pause: data_opt.pause = False break + gevent.sleep(0) data_opt.processing = False rpc_client.send_status('processing', False) |
