#task_histories
This commit is contained in:
parent
01f06c4226
commit
1b3533d2c1
|
@ -119,9 +119,7 @@ def task_histories(request):
|
|||
o['status'] = r[2]
|
||||
o['run_time'] = r[3]
|
||||
output = str(r[4])[1:-1].split(',')[3][2:-2]
|
||||
print(output)
|
||||
output_list = str(output).split('\\n')
|
||||
print(output_list)
|
||||
o['output'] = str(r[4])[1:-1]
|
||||
o['success'] = output_list[0]
|
||||
o['data'] = output_list[1]
|
||||
|
|
Loading…
Reference in New Issue