#task_histories
This commit is contained in:
parent
feb80349bc
commit
2ba900cb02
|
@ -89,7 +89,7 @@ def task_histories(request):
|
||||||
task_id.append(r[1])
|
task_id.append(r[1])
|
||||||
o['status'] = r[2]
|
o['status'] = r[2]
|
||||||
o['run_time'] = r[3]
|
o['run_time'] = r[3]
|
||||||
o['output'] = r[4]
|
o['output'] = r[4][1:-1]
|
||||||
with connection.cursor() as cursor1:
|
with connection.cursor() as cursor1:
|
||||||
cursor1.execute("select * from tasks where id = '%s'" % (r[1]))
|
cursor1.execute("select * from tasks where id = '%s'" % (r[1]))
|
||||||
row1 = cursor1.fetchall()
|
row1 = cursor1.fetchall()
|
||||||
|
|
Loading…
Reference in New Issue