From 3c8d9be738c297557b58d8f4bf7f163c7b569a97 Mon Sep 17 00:00:00 2001 From: Andrew Grant Date: Fri, 28 May 2021 09:22:11 -0400 Subject: [PATCH] Fix typo in test creation dict --- OpenBench/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenBench/utils.py b/OpenBench/utils.py index 02530b6..d4da2a4 100644 --- a/OpenBench/utils.py +++ b/OpenBench/utils.py @@ -244,7 +244,7 @@ def createNewTest(request): test.priority = int(request.POST['priority']) test.throughput = int(request.POST['throughput']) test.allow_dtz = request.POST['allow_dtz'] == 'True' - test.force_wdl = request.POST['force_dtz'] == 'True' + test.force_wdl = request.POST['force_wdl'] == 'True' test.elolower = float(request.POST['elolower']) test.eloupper = float(request.POST['eloupper']) test.alpha = float(request.POST['alpha'])