Fix trailing spaces in engine options breaking cutechess commands

This commit is contained in:
Andrew Grant committed 2021-05-30 00:21:56 -04:00
1 parent a984afef8d
commit 2f1708bb93
1 file changed
+2 -2
+2 -2
View File
@@ -235,8 +235,8 @@ def createNewTest(request):
test.author = request.user.username
test.engine = request.POST['enginename']
test.source = request.POST['source']
test.devoptions = request.POST['devoptions']
test.baseoptions = request.POST['baseoptions']
test.devoptions = request.POST['devoptions'].rstrip(' ')
test.baseoptions = request.POST['baseoptions'].rstrip(' ')
test.devnetwork = request.POST['devnetwork']
test.basenetwork = request.POST['basenetwork']
test.bookname = request.POST['bookname']