Fix a syntax warning in newer python versions
This commit is contained in:
1 parent
8e5afa9a2e
commit
61625aa0d5
1 file changed
+1
-1
@@ -82,7 +82,7 @@ def longStatBlock(test):
|
||||
threads = int(OpenBench.utils.extract_option(test.dev_options, 'Threads'))
|
||||
hash = int(OpenBench.utils.extract_option(test.dev_options, 'Hash'))
|
||||
timecontrol = test.dev_time_control + ['s', '']['=' in test.dev_time_control]
|
||||
test_type = 'SPRT' if test.test_mode is 'SPRT' else 'Conf'
|
||||
test_type = 'SPRT' if test.test_mode == 'SPRT' else 'Conf'
|
||||
|
||||
lower, elo, upper = OpenBench.stats.ELO(test.wins, test.losses, test.draws)
|
||||
|
||||
|
||||
Reference in new issue
Block a user