Fixed a bug in the get_page function
This commit is contained in:
parent
5b655d7889
commit
a66b35190f
@ -273,7 +273,7 @@ class vkSession(object):
|
|||||||
data2 = {"profiles": [], "groups": []}
|
data2 = {"profiles": [], "groups": []}
|
||||||
for i in data["items"]:
|
for i in data["items"]:
|
||||||
data2["profiles"].append(i)
|
data2["profiles"].append(i)
|
||||||
self.process_usernames(data2)
|
self.process_usernames(data2)
|
||||||
if data.has_key("profiles") and data.has_key("groups"):
|
if data.has_key("profiles") and data.has_key("groups"):
|
||||||
self.process_usernames(data)
|
self.process_usernames(data)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user