aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-09-05 16:36:32 +0200
committerLorenz Diener <[email protected]>2017-09-05 16:36:32 +0200
commit87ee1df1c0e045243a486ff43514028e49f44386 (patch)
tree9fd8c65ad643bee145f24820d3d32b45185264f5 /mastodon
parent613ad895c84b652dd82b7296d73cb7cd70716a04 (diff)
downloadmastodon.py-87ee1df1c0e045243a486ff43514028e49f44386.tar.gz
Fix #59
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 1d71e94..6513c33 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -809,7 +809,7 @@ class Mastodon:
809 809
810 all_pages = [] 810 all_pages = []
811 current_page = first_page 811 current_page = first_page
812 while current_page != None: 812 while current_page != None and len(current_page) > 0:
813 all_pages.extend(current_page) 813 all_pages.extend(current_page)
814 current_page = self.fetch_next(current_page) 814 current_page = self.fetch_next(current_page)
815 815
Powered by cgit v1.2.3 (git 2.41.0)