keithjjones / hostintel

A modular Python application to collect intelligence for malicious hosts.
Other
262 stars 52 forks source link

OTXv2- 'NoneType' object has no attribute 'read' #5

Closed ryanshuck closed 7 years ago

ryanshuck commented 8 years ago

ERROR: An exception was raised! Raising original exception for debugging. Traceback (most recent call last): File "/Users/rshuck/Desktop/hostintel/hostintel.py", line 193, in OTX.add_row(host,row) File "/Users/rshuck/Desktop/hostintel/libs/otx.py", line 59, in add_row otxrepdata = self.otx.get(self.ipv4url.format(host,'reputation')).get('reputation',{}) File "/Library/Python/2.7/site-packages/OTXv2.py", line 82, in get data = response.read().decode('utf-8') AttributeError: 'NoneType' object has no attribute 'read'

keithjjones commented 8 years ago

Test that. If it helps, I'll merge into master. Just give me the word.

keithjjones commented 7 years ago

I merged into master.