mirror of https://github.com/MISP/PyMISP
Fix pep8
parent
d64831f215
commit
f54e92ab81
|
@ -566,7 +566,7 @@ class PyMISP(object):
|
|||
def prepare_attribute(self, event_id, distribution, to_ids, category, info,
|
||||
analysis, threat_level_id):
|
||||
to_post = {'request': {}}
|
||||
authorized_categs = ['Payload delivery', 'Artifacts dropped', 'Payload Installation', 'External Analysis','Antivirus detection']
|
||||
authorized_categs = ['Payload delivery', 'Artifacts dropped', 'Payload Installation', 'External Analysis', 'Antivirus detection']
|
||||
|
||||
if event_id is not None:
|
||||
try:
|
||||
|
@ -643,7 +643,6 @@ class PyMISP(object):
|
|||
response = session.post(url, data=json.dumps(to_post))
|
||||
return self._check_response(response)
|
||||
|
||||
|
||||
# ############################
|
||||
# ######## Proposals #########
|
||||
# ############################
|
||||
|
|
Loading…
Reference in New Issue