mirror of https://github.com/MISP/misp-modules
fix: Making travis happy
parent
c1abea4759
commit
9fdd6c5e58
|
@ -1,4 +1,3 @@
|
||||||
import sys
|
|
||||||
import io
|
import io
|
||||||
import json
|
import json
|
||||||
try:
|
try:
|
||||||
|
@ -36,7 +35,7 @@ def handler(q=False):
|
||||||
if result:
|
if result:
|
||||||
results.append(result)
|
results.append(result)
|
||||||
targets.append(t)
|
targets.append(t)
|
||||||
except Exception as e:
|
except Exception:
|
||||||
continue
|
continue
|
||||||
d_result = {t: r.strip() for t, r in zip(targets, results)}
|
d_result = {t: r.strip() for t, r in zip(targets, results)}
|
||||||
return {'results': [{'types': mispattributes['output'], 'values': d_result}]}
|
return {'results': [{'types': mispattributes['output'], 'values': d_result}]}
|
||||||
|
|
Loading…
Reference in New Issue