diff --git a/OpenBench/views.py b/OpenBench/views.py index 2ddc1f5..ce2d43a 100644 --- a/OpenBench/views.py +++ b/OpenBench/views.py @@ -704,9 +704,10 @@ def clientSubmitError(request): machine = Machine.objects.get(id=int(request.POST['machineid'])) if machine.user != user: return HttpResponse('Bad Machine') - # Flag the Test as having an error + # Flag the Test as having an error except for time losses test = Test.objects.get(id=int(request.POST['testid'])) - test.error = True; test.save() + if 'loses on time' not in request.POST['error']: + test.error = True; test.save() # Log the Error into the Events table LogEvent.objects.create(