Fixed error in api.py
authorJosh Roesslein <jroesslein@gmail.com>
Tue, 14 Jul 2009 01:36:20 +0000 (20:36 -0500)
committerJosh Roesslein <jroesslein@gmail.com>
Tue, 14 Jul 2009 01:36:20 +0000 (20:36 -0500)
api.py

diff --git a/api.py b/api.py
index 526f32b66e9edc5aaed8b5cfa54f91f5cf403094..f7c4d57b9e927961f1faecf9c7c3fa2e4542449f 100644 (file)
--- 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