Remove debug

main
Bob Mottram 2021-10-19 22:33:56 +01:00
parent 2c2c99844f
commit 5f6c4fac8d
2 changed files with 0 additions and 3 deletions

View File

@ -12704,7 +12704,6 @@ class PubServer(BaseHTTPRequestHandler):
elif graph == 'get':
graph = '_GET'
watchPointsJson = sortedWatchPoints(self.server.fitness, graph)
print('watchPointsJson: ' + str(watchPointsJson))
msg = json.dumps(watchPointsJson,
ensure_ascii=False).encode('utf-8')
msglen = len(msg)

View File

@ -100,8 +100,6 @@ def htmlWatchPointsGraph(baseDir: str, fitness: {}, fitnessId: str,
name = watchPoint.split(' ')[1]
averageTime = float(watchPoint.split(' ')[0])
heightPercent = int(averageTime * 100 / maxAverageTime)
print('heightPercent: ' + str(averageTime) +
' ' + str(heightPercent) + '%')
timeMS = int(averageTime)
if heightPercent == 0:
continue