Gemini, trying to make this "done".

This commit is contained in:
Kalzu Rekku
2025-06-11 22:27:46 +03:00
parent d93b0ee4ee
commit 1cbf9311e5
7 changed files with 300 additions and 135 deletions

View File

@ -161,7 +161,7 @@ class RRDDatabase:
for point in data_points:
timestamps.append(current_time)
for i, ds in enumerate(ds_names):
value = point[i] if point[i] is not None else 0
value = point[i] if point[i] is not None else None # Changed 0 to None for better representation
data[ds].append(value)
current_time += step
@ -201,7 +201,7 @@ class RRDDatabase:
for point in data_points:
timestamps.append(current_time)
for i, ds in enumerate(ds_names):
value = point[i] if point[i] is not None else 0
value = point[i] if point[i] is not None else None # Changed 0 to None for better representation
data[ds].append(value)
current_time += step