todo removed

master
richard 2013-05-08 12:46:59 +01:00
parent 32d9c43704
commit 5c77818997
1 changed files with 2 additions and 3 deletions

View File

@ -279,10 +279,9 @@ class Mega(object):
def get_id_from_public_handle(self, public_handle):
#get node data
#TODO fix this function
node_data = self.api_request({'a': 'f', 'f': 1, 'p': public_handle})
return self.get_id_from_obj(node_data)
node_id = self.get_id_from_obj(node_data)
return node_id
def get_id_from_obj(self, node_data):
#determine node id