mirror of https://github.com/MISP/misp-modules
add a test to check if the list is not empty
parent
f0a4c71908
commit
a8ae6e06e9
|
@ -123,6 +123,8 @@ def handle_domain(api, domain, misperrors):
|
||||||
misperrors['error'] = misperrors[
|
misperrors['error'] = misperrors[
|
||||||
'error'] + ' Error in expand History DNS'
|
'error'] + ' Error in expand History DNS'
|
||||||
return misperrors
|
return misperrors
|
||||||
|
print(result_filtered)
|
||||||
|
print(misperrors)
|
||||||
return result_filtered
|
return result_filtered
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue