diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 04:06:34 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 04:06:34 +0200 |
| commit | 8b7f864ffae2bc57068d230f16a8d568e6963300 (patch) | |
| tree | 45f11bbdff79e754305155e87704efee9a51b1be /live-mogrify.py | |
| parent | 18d8a48cc60b86972d1637ff0535a702eb7d90fd (diff) | |
un rato
Diffstat (limited to 'live-mogrify.py')
| -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 97e7aeb..f218f37 100644 --- a/live-mogrify.py +++ b/live-mogrify.py @@ -222,6 +222,8 @@ def process_live_input(opt, data_opt, rpc_client): cv2.imwrite(tmp_path, next_img) os.rename(tmp_path, next_path) + if data_opt.exit: + sys.exit(0) if __name__ == '__main__': listener = Listener() |
