This commit is contained in:
xieshen 2019-03-08 18:20:09 +08:00
commit 19f9a09ddc
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def calc_prevent_impact_process(prevent_intersection_disater_data, prevent_data_
django.db.connection.close()
if prevent_intersection_disater_data.empty:
task = Task.objects.get(id=id)
task.value = "EMPTY"
task.value = '{"status":"OK", "data":"EMPTY"}'
task.save()
return