Closedown

This commit is contained in:
gac-S_Changer
2017-03-29 16:57:10 +02:00
parent bb0d5da9d5
commit dfc2295119

View File

@@ -402,7 +402,7 @@ class RobotTCP(TcpDevice, Stoppable):
self.task_create(program, *args, **kwargs)
start = time.time()
while self.get_task_status(program)[0] < 0:
if time.time() - start > 3000:
if time.time() - start > 5000:
raise Exception("Cannot start task " + task)
time.sleep(0.1)
self.current_task = program