Skip to content

Commit

Permalink
fix: Forgotten calls to master class.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Dec 20, 2017
1 parent f3b8029 commit 9c4e98f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pymisp/mispevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def _datetime_to_timestamp(d):
class MISPAttribute(AbstractMISP):

def __init__(self, describe_types=None):
super(MISPAttribute, self).__init__()
if not describe_types:
ressources_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data')
with open(os.path.join(ressources_path, 'describeTypes.json'), 'r') as f:
Expand Down Expand Up @@ -284,6 +285,7 @@ def to_dict(self):
class MISPEvent(AbstractMISP):

def __init__(self, describe_types=None, strict_validation=False):
super(MISPEvent, self).__init__()
ressources_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data')
if strict_validation:
with open(os.path.join(ressources_path, 'schema.json'), 'r') as f:
Expand Down

0 comments on commit 9c4e98f

Please sign in to comment.