Fix trailing spaces in engine options breaking cutechess commands
This commit is contained in:
1 parent
a984afef8d
commit
2f1708bb93
1 file changed
+2
-2
+2
-2
@@ -235,8 +235,8 @@ def createNewTest(request):
|
|||||||
test.author = request.user.username
|
test.author = request.user.username
|
||||||
test.engine = request.POST['enginename']
|
test.engine = request.POST['enginename']
|
||||||
test.source = request.POST['source']
|
test.source = request.POST['source']
|
||||||
test.devoptions = request.POST['devoptions']
|
test.devoptions = request.POST['devoptions'].rstrip(' ')
|
||||||
test.baseoptions = request.POST['baseoptions']
|
test.baseoptions = request.POST['baseoptions'].rstrip(' ')
|
||||||
test.devnetwork = request.POST['devnetwork']
|
test.devnetwork = request.POST['devnetwork']
|
||||||
test.basenetwork = request.POST['basenetwork']
|
test.basenetwork = request.POST['basenetwork']
|
||||||
test.bookname = request.POST['bookname']
|
test.bookname = request.POST['bookname']
|
||||||
|
|||||||
Reference in new issue
Block a user