mirror of https://github.com/MISP/PyMISP
fixed typo
parent
7409f77b52
commit
2e5fcf4e31
|
@ -403,7 +403,7 @@ class PyMISP(object):
|
|||
:param alert: set to True by default (send alerting email) if False will not send alert
|
||||
:return publish status
|
||||
"""
|
||||
if isinstance(event, int) or (isinstance(event, basestring) and event.is_digit()):
|
||||
if isinstance(event, int) or (isinstance(event, basestring) and event.isdigit()):
|
||||
full_event = self._make_mispevent(self.get_event(event))
|
||||
else:
|
||||
full_event = self._make_mispevent(event)
|
||||
|
|
Loading…
Reference in New Issue