fix: name is passed to super

pull/789/head
Raphaël Vinot 2021-09-22 11:47:14 +02:00
parent 309eb3e8ab
commit 3072dac568
1 changed files with 2 additions and 4 deletions

View File

@ -8,8 +8,6 @@ from pymisp.tools.abstractgenerator import AbstractMISPObjectGenerator
class CowrieMISPObject(AbstractMISPObjectGenerator):
def __init__(self, dico_val, **kargs):
self._dico_val = dico_val
self.name = "cowrie"
# Enforce attribute date with timestamp
super(CowrieMISPObject, self).__init__('cowrie',
default_attributes_parameters={'timestamp': int(time.time())},