Authentication now works correctly. (changing data etc.)

This commit is contained in:
Ask Solem
2009-04-21 13:36:06 +02:00
parent 22d2631d23
commit 433206f5c2
+1 -1
View File
@@ -35,7 +35,7 @@ class GithubRequest(object):
}
def encode_authentication_data(self, extra_post_data):
post_data = {"user": self.username,
post_data = {"login": self.username,
"token": self.api_token}
post_data.update(extra_post_data)
return urlencode(post_data)