summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-10-06 00:42:00 +0200
committerAki <please@ignore.pl>2022-10-06 00:42:00 +0200
commit5887ce736becc3b22c17f4fcc48a736510dc129f (patch)
tree4de53d1d7100751354d3670a1c00cbaa5252ffbb
parent2ed3c80435aa738bbb44aa8def5add158fc12dfe (diff)
downloadwindy-5887ce736becc3b22c17f4fcc48a736510dc129f.zip
windy-5887ce736becc3b22c17f4fcc48a736510dc129f.tar.gz
windy-5887ce736becc3b22c17f4fcc48a736510dc129f.tar.bz2
Fixed typo from refactoring
-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())