diff --git a/core/lib/wp_request.py b/core/lib/wp_request.py index b9b9a48..743d0ac 100755 --- a/core/lib/wp_request.py +++ b/core/lib/wp_request.py @@ -51,7 +51,7 @@ def Send(self,url,method='GET',payload=None,headers=None,cookie=None): resp = urllib2.urlopen(req) except urllib2.HTTPError,e: resp = e - return resp.read(),resp.geturl(),resp.getcode(),resp.info() + return resp.read().decode('utf-8'),resp.geturl(),resp.getcode(),resp.info() class NoRedirectHandler(urllib2.HTTPRedirectHandler): def http_error_302(self,req,fp,code,msg,headers):