diff --git a/mega/mega.py b/mega/mega.py index a116be4..7f877dc 100644 --- a/mega/mega.py +++ b/mega/mega.py @@ -273,7 +273,7 @@ class Mega(object): node_data = self.api_request({'a': 'f', 'f': 1, 'p': public_handle}) node_id = None - #determine node id + #determine node id for i in node_data['f']: if i['h'] is not u'': node_id = i['h'] diff --git a/tests.py b/tests.py index fdc71e9..1bf257e 100644 --- a/tests.py +++ b/tests.py @@ -2,8 +2,8 @@ from mega import Mega def test(): #user details - email = 'richard@richard.do' - password = 'fofput2' + email = 'your@email.com' + password = 'password' mega = Mega()