#task_histories

This commit is contained in:
xieshen 2020-11-05 18:13:41 +08:00
parent 01f06c4226
commit 1b3533d2c1
1 changed files with 0 additions and 2 deletions

View File

@ -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]