From f84d5bf3114b60025728a58a52af7385eaaafdf2 Mon Sep 17 00:00:00 2001 From: richard Date: Sun, 10 Mar 2013 03:39:06 +0000 Subject: [PATCH] added get_quota() and get_balance() --- mega/mega.py | 2 +- tests.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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()