fix null check
This commit is contained in:
parent
aea52d15bf
commit
12a2ccf145
|
@ -316,6 +316,7 @@ def get_waiting_for_db(api_key, interval, data_range, endpoint):
|
|||
for i in range(len(raw_data)):
|
||||
if raw_data[i] is not None:
|
||||
data.append(raw_data[i])
|
||||
else:
|
||||
null_present = True
|
||||
return np.round(np.average(data), 5), null_present, raw_data
|
||||
|
||||
|
|
Loading…
Reference in New Issue