[update] count +1 when start
This commit is contained in:
@@ -221,11 +221,10 @@ class Project(threading.Thread):
|
||||
else:
|
||||
task_info['file_name'] += '#' + str(cycle_info['name']) + '-' + str(cycle_info['count'])
|
||||
self.log_verbose('file name ' + task_info['file_name'])
|
||||
|
||||
if action.type == 'start':
|
||||
self._count += 1
|
||||
|
||||
if instruction_set != None and len(task.parameter_set) > 0:
|
||||
if action.type == 'start':
|
||||
self._count += 1
|
||||
for instruction in instruction_set:
|
||||
args = list(map(lambda arg: task_info[arg], instruction['arguments']))
|
||||
target=getattr(device, instruction['method'])(*args)
|
||||
|
||||
Reference in New Issue
Block a user