mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Fixed #138
This commit is contained in:
parent
4c22c29241
commit
268a123449
@ -172,7 +172,7 @@ class Session(object):
|
|||||||
results = []
|
results = []
|
||||||
data = getattr(self.twitter.twitter, update_function)(*args, **kwargs)
|
data = getattr(self.twitter.twitter, update_function)(*args, **kwargs)
|
||||||
if users == True:
|
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"]
|
self.db[name]["cursor"] = data["next_cursor"]
|
||||||
for i in data["users"]: results.append(i)
|
for i in data["users"]: results.append(i)
|
||||||
elif type(data) == list:
|
elif type(data) == list:
|
||||||
|
Loading…
Reference in New Issue
Block a user