Skip zero heights

main
Bob Mottram 2021-10-19 22:12:06 +01:00
parent 8c00a42b0c
commit 2c2c99844f
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ def htmlWatchPointsGraph(baseDir: str, fitness: {}, fitnessId: str,
print('heightPercent: ' + str(averageTime) +
' ' + str(heightPercent) + '%')
timeMS = int(averageTime)
if timeMS == 0:
break
if heightPercent == 0:
continue
htmlStr += \
'<tr style="height:' + str(heightPercent) + '%">\n' + \
' <th scope="row">' + name + '</th>\n' + \