From 268a1234497df7917821a07cef92b41ee08b4792 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Mon, 10 Jul 2017 17:46:20 -0500 Subject: [PATCH] Fixed #138 --- src/sessionmanager/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sessionmanager/session.py b/src/sessionmanager/session.py index f0732a45..8422123a 100644 --- a/src/sessionmanager/session.py +++ b/src/sessionmanager/session.py @@ -172,7 +172,7 @@ class Session(object): results = [] data = getattr(self.twitter.twitter, update_function)(*args, **kwargs) if users == True: - if type(data) == dict and data.has_key("cursor"): + if type(data) == dict and data.has_key("next_cursor"): self.db[name]["cursor"] = data["next_cursor"] for i in data["users"]: results.append(i) elif type(data) == list: