Skip to content

Commit

Permalink
Merge pull request #18 from LetMeR00t/fix_pap
Browse files Browse the repository at this point in the history
[FIX] Missing field "pap" when running a job
  • Loading branch information
nadouani authored May 25, 2020
2 parents 020a5da + 7f29820 commit e9f70f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cortex4py/controllers/analyzers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ def disable(self, analyzer_id) -> bool:

def run_by_id(self, analyzer_id, observable, **kwargs) -> Job:
tlp = observable.get('tlp', 2)
pap = observable.get('pap', 2)
data_type = observable.get('dataType', None)

post = {
'dataType': data_type,
'tlp': tlp
'tlp': tlp,
'pap': pap
}

params = {}
Expand Down

0 comments on commit e9f70f4

Please sign in to comment.