twilio/twilio-python — pull request #114 by cmcilvoy (2013-03-22 21:27:11+00:00)
Title: Simple fix to handle TypeError

This commit fixes the error in this stack trace:

File "/.virtualenvs/rimidi/lib/python3.2/site-packages/twilio/rest/resources/base.py", line 225, in create_instance
data=transform_params(body))
File "/.virtualenvs/rimidi/lib/python3.2/site-packages/twilio/rest/resources/base.py", line 128, in request
return resp, json.loads(resp.content)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/json/__init__.py", line 309, in loads
return _default_decoder.decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/json/decoder.py", line 351, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: can't use a string pattern on a bytes-like object