donate-cpu-server.py: Fix wrong number of "+" diffs in latest results. (#1517)
This should fix the issue that the number after the "+" in the "Diff" column is always one too large.
This commit is contained in:
parent
6924522475
commit
a4a3373838
|
@ -73,7 +73,7 @@ def latestReport(latestResults):
|
|||
# cppcheck = line[9:]
|
||||
elif line.startswith('count: '):
|
||||
count = line.split(' ')[1:]
|
||||
elif line.startswith('head '):
|
||||
elif line.startswith('head ') and not line.startswith('head results:'):
|
||||
added += 1
|
||||
elif line.startswith(OLD_VERSION + ' '):
|
||||
lost += 1
|
||||
|
|
Loading…
Reference in New Issue