Add forgotten variable

pull/34/head
Raphaël Vinot 2016-10-11 11:22:31 +02:00
parent 8be38693b7
commit 268598fe23
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class PyMISP(object):
self.ssl = ssl self.ssl = ssl
self.proxies = proxies self.proxies = proxies
self.cert = cert self.cert = cert
self.ressources_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data')
if out_type != 'json': if out_type != 'json':
raise PyMISPError('The only output type supported by PyMISP is JSON. If you still rely on XML, use PyMISP v2.4.49') raise PyMISPError('The only output type supported by PyMISP is JSON. If you still rely on XML, use PyMISP v2.4.49')
self.debug = debug self.debug = debug