todo removed
This commit is contained in:
parent
32d9c43704
commit
5c77818997
1 changed files with 2 additions and 3 deletions
|
@ -279,10 +279,9 @@ class Mega(object):
|
||||||
|
|
||||||
def get_id_from_public_handle(self, public_handle):
|
def get_id_from_public_handle(self, public_handle):
|
||||||
#get node data
|
#get node data
|
||||||
#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})
|
||||||
|
node_id = self.get_id_from_obj(node_data)
|
||||||
return self.get_id_from_obj(node_data)
|
return node_id
|
||||||
|
|
||||||
def get_id_from_obj(self, node_data):
|
def get_id_from_obj(self, node_data):
|
||||||
#determine node id
|
#determine node id
|
||||||
|
|
Loading…
Reference in a new issue