Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
free1002 committed Aug 23, 2012
1 parent 8a8bd29 commit 2b792f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion androidmarket.py
Original file line number Diff line number Diff line change
Expand Up @@ -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://"
Expand Down

0 comments on commit 2b792f9

Please sign in to comment.