Skip to content

Commit

Permalink
Merge branch 'hotfix/1.6.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Sep 10, 2017
2 parents 7f89661 + bf15a88 commit 7d4e0a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion analyzers/MISP/mispclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ def __init__(self, url, key, ssl=True, name='Unnamed'):
ssl=verify))
else:
verify = True
if os.path.isfile(ssl):
if isinstance(ssl, str):
if os.path.isfile(ssl):
verify = ssl
elif isinstance(ssl, bool):
verify = ssl
self.misp_connections.append(pymisp.PyMISP(url=url,
key=key,
Expand Down

0 comments on commit 7d4e0a5

Please sign in to comment.