From a7d1608903825a4c2d781e5f8f709f26ed1bad03 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 7 Feb 2021 13:35:32 -0600 Subject: [PATCH] Start on page 1 for PageIterator --- tweepy/cursor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/cursor.py b/tweepy/cursor.py index 01e6136..17b4904 100644 --- a/tweepy/cursor.py +++ b/tweepy/cursor.py @@ -180,7 +180,7 @@ class PageIterator(BaseIterator): def __init__(self, method, *args, **kwargs): BaseIterator.__init__(self, method, *args, **kwargs) - self.current_page = 0 + self.current_page = 1 def next(self): if self.limit > 0: -- 2.25.1