summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-10-06 21:09:13 +0200
committerAki <please@ignore.pl>2022-10-06 21:09:13 +0200
commitdd6b4eaa9bb22864ff38b3ec68c732b517122e04 (patch)
tree423e4c9ed7a79be738c79575b51e70a2b14944d9
parent5887ce736becc3b22c17f4fcc48a736510dc129f (diff)
downloadwindy-dd6b4eaa9bb22864ff38b3ec68c732b517122e04.zip
windy-dd6b4eaa9bb22864ff38b3ec68c732b517122e04.tar.gz
windy-dd6b4eaa9bb22864ff38b3ec68c732b517122e04.tar.bz2
Fixed entryview condition
-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 fa1b3a8..1f18c07 100644
--- a/windy/point_forecast.py
+++ b/windy/point_forecast.py
@@ -87,7 +87,7 @@ class EntryView:
return self
def __bool__(self):
- return self._index >= len(self)
+ return self._index < len(self)
def __len__(self):
return len(self._response)