This commit is contained in:
parent
ac0c8f999e
commit
06a220dc2e
@ -61,7 +61,7 @@ class ReportView(FlaskView):
|
|||||||
rate_tables = influxdb_instance.query_api.query(query)
|
rate_tables = influxdb_instance.query_api.query(query)
|
||||||
|
|
||||||
for table in rate_tables:
|
for table in rate_tables:
|
||||||
for row in table.records
|
for row in table.records:
|
||||||
key = row.values['client'] + ":" + row.values['site']
|
key = row.values['client'] + ":" + row.values['site']
|
||||||
if key in response:
|
if key in response:
|
||||||
response[key]['rate'] = row.values['_value']
|
response[key]['rate'] = row.values['_value']
|
||||||
|
Loading…
Reference in New Issue
Block a user