salesforce-marketingcloud / FuelSDK-Python

FuelSDK for python
Other
126 stars 193 forks source link

Fix TypeError when there was no response body. #17

Closed alimony closed 10 years ago

alimony commented 10 years ago

This will prevent TypeError: argument of type 'NoneType' is not iterable if there was no response body, e.g. when status code was 400 or similar. (In that case body will be None.)