summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--windy/point_forecast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/windy/point_forecast.py b/windy/point_forecast.py
index c15f3b2..fa1b3a8 100644
--- a/windy/point_forecast.py
+++ b/windy/point_forecast.py
@@ -111,7 +111,7 @@ class Response:
self.samples[parameter] = [x * registry(_convert_notation(unit)) for x in raw[parameter]]
def __len__(self):
- return len(self._timestamps)
+ return len(self.timestamps)
def parameters(self) -> tuple:
return tuple(self.samples.keys())