get_id_from_node_data -> get_id_from_obj

This commit is contained in:
richard 2013-05-08 12:41:50 +01:00
parent 3904ec54d4
commit 32d9c43704

View file

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