merge-requests/30/head
Bob Mottram 2021-10-19 21:34:35 +01:00
parent 3cd81eaca8
commit 47e006b054
1 changed files with 5 additions and 5 deletions

View File

@ -12674,7 +12674,7 @@ class PubServer(BaseHTTPRequestHandler):
return return
fitnessPerformance(GETstartTime, self.server.fitness, fitnessPerformance(GETstartTime, self.server.fitness,
'_GET', 'rss3 done', '_GET', '_getFeaturedTagsCollection done',
self.server.debug) self.server.debug)
# show a performance graph # show a performance graph
@ -12682,9 +12682,9 @@ class PubServer(BaseHTTPRequestHandler):
graph = self.path.split('?graph=')[1] graph = self.path.split('?graph=')[1]
if htmlGET and not graph.endswith('.json'): if htmlGET and not graph.endswith('.json'):
if graph == 'post': if graph == 'post':
graph == '_POST' graph = '_POST'
elif graph == 'get': elif graph == 'get':
graph == '_GET' graph = '_GET'
msg = \ msg = \
htmlWatchPointsGraph(self.server.baseDir, htmlWatchPointsGraph(self.server.baseDir,
self.server.fitness, self.server.fitness,
@ -12700,9 +12700,9 @@ class PubServer(BaseHTTPRequestHandler):
else: else:
graph = graph.replace('.json', '') graph = graph.replace('.json', '')
if graph == 'post': if graph == 'post':
graph == '_POST' graph = '_POST'
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()) print('watchPointsJson: ' + str())
msg = json.dumps(watchPointsJson, msg = json.dumps(watchPointsJson,