mirror of https://github.com/MISP/MISP
fix: [stix export] Fixed function header missing self attribute
parent
eae548d4b6
commit
73910135f2
|
@ -1293,8 +1293,7 @@ class StixBuilder(object):
|
|||
hi.journal_entry = entry_line
|
||||
self.history.append(hi)
|
||||
|
||||
@staticmethod
|
||||
def add_reference(reference):
|
||||
def add_reference(self, reference):
|
||||
if hasattr(self.incident.information_source, 'references'):
|
||||
try:
|
||||
self.incident.information_source.add_reference(reference)
|
||||
|
|
Loading…
Reference in New Issue