From 5887ce736becc3b22c17f4fcc48a736510dc129f Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 6 Oct 2022 00:42:00 +0200 Subject: Fixed typo from refactoring --- windy/point_forecast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- cgit v1.1