From 0f48cf61d49706935034c8d6e4de124309207e26 Mon Sep 17 00:00:00 2001 From: sfop Date: Tue, 4 Apr 2017 14:23:02 +0200 Subject: [PATCH] Script execution --- script/local.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/local.py b/script/local.py index 30b230a..92ef410 100755 --- a/script/local.py +++ b/script/local.py @@ -342,12 +342,13 @@ def check_camtool(): """ if is_camtool_running(): return False + print "Staring Camtool" fork(_run_camtool) start =time.time() while not is_camtool_running(): if time.time() - start > 2.0: raise Exception("Error starting camtool process") - time.sleep(2.0) + time.sleep(2.0) def bsget(channel): """