michaeljoseph/righteous — pull request #10 by michaeljoseph (2013-09-13 23:35:41+00:00)
Title: Login doesn't work

I pulled master and had to modify the login method to make it work:

yours:
response = _request('/login', headers={
'Authorization': 'Basic %s' % base64.b64encode(six.b(auth_hash))[:-1]

Mine:
response = _request('/login', headers={
'Authorization': 'Basic %s' % base64.encodestring(auth_hash).replace('\n', '')