fixed typo

pull/142/head
c-goes 2017-11-20 15:11:30 +01:00
parent 7409f77b52
commit 2e5fcf4e31
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ class PyMISP(object):
:param alert: set to True by default (send alerting email) if False will not send alert :param alert: set to True by default (send alerting email) if False will not send alert
:return publish status :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)) full_event = self._make_mispevent(self.get_event(event))
else: else:
full_event = self._make_mispevent(event) full_event = self._make_mispevent(event)