get_id_from_node_data -> get_id_from_obj
This commit is contained in:
parent
3904ec54d4
commit
32d9c43704
1 changed files with 2 additions and 2 deletions
|
@ -282,9 +282,9 @@ class Mega(object):
|
||||||
#TODO fix this function
|
#TODO fix this function
|
||||||
node_data = self.api_request({'a': 'f', 'f': 1, 'p': public_handle})
|
node_data = self.api_request({'a': 'f', 'f': 1, 'p': public_handle})
|
||||||
|
|
||||||
return self.get_id_from_node_data(node_data)
|
return self.get_id_from_obj(node_data)
|
||||||
|
|
||||||
def get_id_from_node_data(self, node_data):
|
def get_id_from_obj(self, node_data):
|
||||||
#determine node id
|
#determine node id
|
||||||
node_id = None
|
node_id = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue