mirror of https://github.com/MISP/PyMISP
Fixed synthax error
parent
a6a851f38d
commit
c40eaf935f
|
@ -216,7 +216,7 @@ class MISPEvent(object):
|
|||
|
||||
def __init__(self, describe_types=None):
|
||||
self.ressources_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data')
|
||||
with open(os.path.join(self.ressources_path, 'schema.json', 'r') as f:
|
||||
with open(os.path.join(self.ressources_path, 'schema.json'),'r') as f:
|
||||
self.json_schema = json.load(f)
|
||||
with open(os.path.join(self.ressources_path, 'schema-lax.json'), 'r') as f:
|
||||
self.json_schema_lax = json.load(f)
|
||||
|
|
Loading…
Reference in New Issue