From d677bc58a9b6127abc534b5f6a4836dadfa5de1f Mon Sep 17 00:00:00 2001 From: morallo Date: Fri, 2 Dec 2016 17:43:33 +0100 Subject: [PATCH] Fixed missing parenthesis --- pymisp/mispevent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/mispevent.py b/pymisp/mispevent.py index e59fb1b..4659101 100644 --- a/pymisp/mispevent.py +++ b/pymisp/mispevent.py @@ -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)