This commit is contained in:
Manuel Cortez 2017-07-10 17:46:20 -05:00
parent 4c22c29241
commit 268a123449

View File

@ -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: