From c3503fc53623174ac9be3de70c43cc9c51bef00b Mon Sep 17 00:00:00 2001 From: Ricardosgeral Date: Fri, 1 Mar 2019 11:53:28 +0000 Subject: [PATCH] add small delay to interval because of time to perform executions --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index bc65588..3301093 100644 --- a/main.py +++ b/main.py @@ -413,7 +413,7 @@ def read_display_write(e_rdw): # read and display data in page "record" and writ t_pics = cm.capture(picsLocation, testname[:-4], testtype, elapsed, data['flow']) t_pics.start() #t_pics.join() # takes too long. don't use - sleep(float(inp['interval'])-delay) # Interval between records + sleep(float(inp['interval'])-delay-0.012) # Interval between records # also added a small 0.012 delay ### time to make video