From 7ded08fd84a8c136ee8da65f8c6238910aca71d9 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Fri, 8 Sep 2017 16:41:39 +0200 Subject: Fix for fix --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 4774761..ed8901c 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -853,7 +853,7 @@ class Mastodon: Returns the previous page or None if no further data is available. """ - if isinstance(next_page, list) and len(previous_page) != 0: + if isinstance(next_page, list) and len(next_page) != 0: if '_pagination_prev' in next_page[0]: params = copy.deepcopy(next_page[0]['_pagination_prev']) else: -- cgit v1.2.3