Fix typo in final score reporting

This commit is contained in:
Andrew Grant authored and GitHub committed 2018-06-12 12:00:57 -04:00
1 parent de79ff267f
commit 666e7b1a08
1 file changed
+3 -3
+3 -3
View File
@@ -360,7 +360,7 @@ def completeWorkload(data):
break
# Batch result updates
if (sum(score) - sum(sent)) % 5 == 0 and score != sent:
if (sum(score) - sum(sent)) % 25 == 0 and score != sent:
wins = score[0] - sent[0]
losses = score[1] - sent[1]
draws = score[2] - sent[2]
@@ -372,8 +372,8 @@ def completeWorkload(data):
# One final result send before we exit just in case
wins = score[0] - sent[0]
losses = score[0] - sent[0]
draws = score[0] - sent[0]
losses = score[1] - sent[1]
draws = score[2] - sent[2]
reportResults(data, wins, losses, draws, crashes, timeloss)
if __name__ == '__main__':