Permalink
Browse files

Run unicode on raw JSON response from API so JSON can be parsed prope…

…rly.
  • Loading branch information...
1 parent 39fb30a commit eccc78299702ec6bd8fe626b7a21e99dc501b660 Chavez committed May 4, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 al_papi/al_http.py
  2. +1 −1 setup.py
View
@@ -55,6 +55,7 @@ def request(verb, params, path):
status = resp["status"]
req.code = status
req.body = content
+ content = unicode(content, "ISO-8859-1")
if status == "200":
req.success = True
View
@@ -2,7 +2,7 @@
from distutils.core import setup
setup(
name="al_papi",
- version="0.0.4",
+ version="0.0.5",
description="AuthorityLabs Partner API Wrapper",
author="Chavez",
author_email="support@authoritylabs.com",

0 comments on commit eccc782

Please sign in to comment.