Yelp / threat_intel

Threat Intelligence APIs
MIT License
274 stars 56 forks source link

"AttributeError: 'NoneType' object has no attribute 'status_code'" in threat_intel/shadowserver.py", line 55, in get_bin_test #57

Closed jjsendor closed 8 years ago

jjsendor commented 8 years ago

This is caused by an empty response appearing in the responses list. An easy remediation would be to have a test against response being None.

jjsendor commented 8 years ago

Fixed in #58.