fixed minor issue in User.get_friends()
This commit is contained in:
parent
83bbe31b66
commit
fa6093313a
|
@ -2771,7 +2771,7 @@ class User(_BaseObject):
|
||||||
|
|
||||||
list = []
|
list = []
|
||||||
for node in _collect_nodes(limit, self, "user.getFriends", False):
|
for node in _collect_nodes(limit, self, "user.getFriends", False):
|
||||||
list.append(User(_extract(node, "name"), self))
|
list.append(User(_extract(node, "name"), self.network))
|
||||||
|
|
||||||
return list
|
return list
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue