mirror of https://github.com/MISP/PyMISP
Fix typo in add_mutex
parent
13dbaef5b7
commit
5bc4db789b
|
@ -451,7 +451,7 @@ class PyMISP(object):
|
|||
def scrub(s):
|
||||
if not s.startswith('\\BaseNamedObjects\\'):
|
||||
s = '\\BaseNamedObjects\\{}'.format(s)
|
||||
return self
|
||||
return s
|
||||
attributes = list(map(scrub, self._one_or_more(mutex)))
|
||||
return self.add_named_attribute(event, 'mutex', attributes, category, to_ids, comment, distribution, proposal)
|
||||
|
||||
|
|
Loading…
Reference in New Issue