Commit 686561be authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Fixed error in api.py

parent 58ee4790
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment