From 686561be694cadab24450169c0bf6265a0be5867 Mon Sep 17 00:00:00 2001 From: Josh Roesslein Date: Mon, 13 Jul 2009 20:36:20 -0500 Subject: [PATCH] Fixed error in api.py --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index 526f32b..f7c4d57 100644 --- a/api.py +++ b/api.py @@ -20,7 +20,7 @@ class API(object): self.classes = classes self.username = username - def set_credentials(username, password): + def set_credentials(self, username, password): self._b64up = base64.b64encode('%s:%s' % (username, password)) self.username = username -- 2.25.1