Fixed synthax error

pull/31/head
morallo 2016-12-02 17:43:33 +01:00
parent a6a851f38d
commit c40eaf935f
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ class MISPEvent(object):
def __init__(self, describe_types=None): def __init__(self, describe_types=None):
self.ressources_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data') 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) self.json_schema = json.load(f)
with open(os.path.join(self.ressources_path, 'schema-lax.json'), 'r') as f: with open(os.path.join(self.ressources_path, 'schema-lax.json'), 'r') as f:
self.json_schema_lax = json.load(f) self.json_schema_lax = json.load(f)