Script execution

This commit is contained in:
sfop
2017-04-04 14:23:02 +02:00
parent d867931584
commit 0f48cf61d4
+2 -1
View File
@@ -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):
"""