From: Josh Roesslein Date: Tue, 14 Jul 2009 01:36:20 +0000 (-0500) Subject: Fixed error in api.py X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=686561be694cadab24450169c0bf6265a0be5867;p=tweepy.git Fixed error in api.py --- 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