faszomat már
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-12-10 01:34:12 +01:00
parent ac0c8f999e
commit 06a220dc2e

View File

@ -61,7 +61,7 @@ class ReportView(FlaskView):
rate_tables = influxdb_instance.query_api.query(query)
for table in rate_tables:
for row in table.records
for row in table.records:
key = row.values['client'] + ":" + row.values['site']
if key in response:
response[key]['rate'] = row.values['_value']