fix: make flake8 happy

pull/580/head
Raphaël Vinot 2020-05-11 15:40:20 +02:00
parent fff0caa330
commit dcd1db8883
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import logging
logger = logging.getLogger('pymisp')
class MicroblogObject(AbstractMISPObjectGenerator):
def __init__(self, parameters: dict, strict: bool = True, standalone: bool = True, **kwargs):
@ -138,4 +139,4 @@ class MicroblogObject(AbstractMISPObjectGenerator):
# twitter post id
if 'twitter-id' in self._parameters:
self.add_attribute('twitter-id', value=self._parameters['twitter-id'])
self.add_attribute('twitter-id', value=self._parameters['twitter-id'])