Fix typo in add_mutex

pull/36/head
Raphaël Vinot 2016-12-07 10:54:22 +01:00
parent 13dbaef5b7
commit 5bc4db789b
1 changed files with 1 additions and 1 deletions

View File

@ -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)