mirror of https://gitlab.com/bashrc2/epicyon
Remove debug
parent
2c2c99844f
commit
5f6c4fac8d
|
@ -12704,7 +12704,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
elif graph == 'get':
|
elif graph == 'get':
|
||||||
graph = '_GET'
|
graph = '_GET'
|
||||||
watchPointsJson = sortedWatchPoints(self.server.fitness, graph)
|
watchPointsJson = sortedWatchPoints(self.server.fitness, graph)
|
||||||
print('watchPointsJson: ' + str(watchPointsJson))
|
|
||||||
msg = json.dumps(watchPointsJson,
|
msg = json.dumps(watchPointsJson,
|
||||||
ensure_ascii=False).encode('utf-8')
|
ensure_ascii=False).encode('utf-8')
|
||||||
msglen = len(msg)
|
msglen = len(msg)
|
||||||
|
|
|
@ -100,8 +100,6 @@ def htmlWatchPointsGraph(baseDir: str, fitness: {}, fitnessId: str,
|
||||||
name = watchPoint.split(' ')[1]
|
name = watchPoint.split(' ')[1]
|
||||||
averageTime = float(watchPoint.split(' ')[0])
|
averageTime = float(watchPoint.split(' ')[0])
|
||||||
heightPercent = int(averageTime * 100 / maxAverageTime)
|
heightPercent = int(averageTime * 100 / maxAverageTime)
|
||||||
print('heightPercent: ' + str(averageTime) +
|
|
||||||
' ' + str(heightPercent) + '%')
|
|
||||||
timeMS = int(averageTime)
|
timeMS = int(averageTime)
|
||||||
if heightPercent == 0:
|
if heightPercent == 0:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue