mirror of https://gitlab.com/bashrc2/epicyon
Skip zero heights
parent
8c00a42b0c
commit
2c2c99844f
|
@ -103,8 +103,8 @@ def htmlWatchPointsGraph(baseDir: str, fitness: {}, fitnessId: str,
|
||||||
print('heightPercent: ' + str(averageTime) +
|
print('heightPercent: ' + str(averageTime) +
|
||||||
' ' + str(heightPercent) + '%')
|
' ' + str(heightPercent) + '%')
|
||||||
timeMS = int(averageTime)
|
timeMS = int(averageTime)
|
||||||
if timeMS == 0:
|
if heightPercent == 0:
|
||||||
break
|
continue
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
'<tr style="height:' + str(heightPercent) + '%">\n' + \
|
'<tr style="height:' + str(heightPercent) + '%">\n' + \
|
||||||
' <th scope="row">' + name + '</th>\n' + \
|
' <th scope="row">' + name + '</th>\n' + \
|
||||||
|
|
Loading…
Reference in New Issue