meraki / dashboard-api-python

Official Dashboard API library (SDK) for Python
MIT License
287 stars 149 forks source link

Fix for #214 JSON parse failure on 204 No Content response #216

Closed TKIPisalegacycipher closed 1 year ago

TKIPisalegacycipher commented 1 year ago

Fixes #214 There are very few GETs in Meraki dashboard API that produce 204 No Content, for which the Python equivalent is None, but for those that do, this change bypasses the attempt to JSON parse if the content is None, which produced an error.