Suppress status output

hightide
Dan Howe 5 years ago
parent 17351683b9
commit 509c8100bf

@ -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))

Loading…
Cancel
Save