Commit 9e6e4d3c authored by Serial Lab's avatar Serial Lab

yet another update to status

parent 42b5ec1c
......@@ -231,7 +231,7 @@ class AllocateView(views.APIView):
number_list = response.get_number_list()
rule = execute_rule_inline(number_list, db_task)
ret = rule.data
db_task.STATUS = "SUCCESS"
db_task.STATUS = "FINISHED"
db_task.save()
except ResponseRule.DoesNotExist:
db_task.status = 'ERROR'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment