Skip to content

Commit

Permalink
[#602] Use ExpandedPyMISP in case someone uses legacy pymisp version
Browse files Browse the repository at this point in the history
  • Loading branch information
3c7 committed Jan 30, 2020
1 parent 1036d58 commit f19d449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzers/MISP/mispclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, url, key, ssl=True, name='Unnamed', proxies=None):
raise CertificateNotFoundError('Certificate not found under {}.'.format(ssl))
elif isinstance(ssl, bool):
verify = ssl
self.misp_connections.append(pymisp.PyMISP(url=server,
self.misp_connections.append(pymisp.ExpandedPyMISP(url=server,
key=key[idx],
ssl=verify,
proxies=proxies))
Expand Down

0 comments on commit f19d449

Please sign in to comment.