pandemicsyn/asana

Error on line #77 with Request has no attribute text

Closed this issue · 2 comments

Hi
my python version - 2.7.3
and requests - 0.8.2

and i have this error and my fix is

if hasattr(r, 'text'):
    return json.loads(r.text)['data']
else:
    return json.loads(r.content)['data']

Sweet, do you wanna send a pull request?

yeap