This commit is contained in:
Cyberes 2023-04-21 23:54:17 -06:00
parent e5e4bba051
commit 57dda6121b
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ def get_waiting_for_db(api_key, interval, data_range, endpoint):
response = requests.post(f'{endpoint}/api/ds/query', headers={'Authorization': f'Bearer {api_key}'}, json=json_data, verify=False).json()
data = response['results']['A']['frames'][0]['data']['values'][1]
null_present = False
for i in range(data):
for i in range(len(data)):
if data[i] is None:
data[i] = -1
null_present = True