From 509c8100bf4abf66c1485fa6c0c7d125d54a9c30 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Thu, 28 Nov 2019 11:48:41 +1100 Subject: [PATCH] Suppress status output --- spectur_live_view.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spectur_live_view.py b/spectur_live_view.py index f74a0ed..acb7c26 100644 --- a/spectur_live_view.py +++ b/spectur_live_view.py @@ -25,6 +25,7 @@ OUTPUT_DIR = 'images' TIMEZONE = 'Australia/Sydney' WAIT_TIME = 0.1 RECORDING_DURATION = 120 +SILENT = True username = '' password = '' @@ -168,7 +169,7 @@ def get_next_image(driver, cookies): # Count images collected n = len(t) - if n > 2: + if (n > 2) and not SILENT: # Get frames per second fps = 1 / np.median(np.diff(t))