Browse files

Merge pull request #7 from free1002/master

fix known bug
  • Loading branch information...
2 parents 8a8bd29 + 2b792f9 commit 18e43f3c87e0a40031b4601948bd79fb3766af39 @liato committed Sep 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 androidmarket.py
View
2 androidmarket.py
@@ -129,7 +129,7 @@ def execute(self, request):
"Content-Type": "application/x-www-form-urlencoded",
"Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7"}
data = request.SerializeToString()
- data = "version=%d&request=%s" % (self.PROTOCOL_VERSION, base64.b64encode(data))
+ data = "version=%d&request=%s" % (self.PROTOCOL_VERSION, base64.urlsafe_b64encode(data))
if self.context.isSecure == 1 or self.context.isSecure == True:
http = "https://"

0 comments on commit 18e43f3

Please sign in to comment.