From 32d9c43704e2fa026611e57c38a0e44595ab6243 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 8 May 2013 12:41:50 +0100 Subject: [PATCH] get_id_from_node_data -> get_id_from_obj --- mega/mega.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mega/mega.py b/mega/mega.py index 80fed56..6681134 100644 --- a/mega/mega.py +++ b/mega/mega.py @@ -282,9 +282,9 @@ class Mega(object): #TODO fix this function 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 node_id = None