From 438a68e12cf7fbadd618a9ee4f94edd8a9d3d414 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 10 May 2023 15:02:25 -0400 Subject: [PATCH] Fix bug introduced during CSS rewrite --- OpenBench/templatetags/mytags.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenBench/templatetags/mytags.py b/OpenBench/templatetags/mytags.py index 067fb30..e1245c9 100644 --- a/OpenBench/templatetags/mytags.py +++ b/OpenBench/templatetags/mytags.py @@ -122,6 +122,8 @@ def longStatBlock(test): if test.test_mode == 'GAMES': + timecontrol = test.timecontrol + ['s', '']['=' in test.timecontrol] + return 'ELO | {0} +- {1} (95%)\n'.format(elo, error) \ + 'CONF | {0} Threads={1} Hash={2}MB\n'.format(timecontrol, threads, hash) \ + 'GAMES | N: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws)