add reverse infos

pull/197/head
Sebdraven 2018-06-20 16:29:04 +02:00
parent 4a8a79c560
commit d4be9d9fda
1 changed files with 8 additions and 6 deletions

View File

@ -92,12 +92,14 @@ def handle_ip(api, ip, misperrors):
misperrors['error'] = 'Error forward result'
return
#
# r, status_ok = expand_reverse(api, ip, misperrors)
#
# if status_ok:
# result_filtered['results'].append(r)
# else:
# return r
r, status_ok = expand_reverse(api, ip, misperrors)
if status_ok:
result_filtered['results'].extend(r)
else:
misperrors['error'] = 'Error reverse result'
return misperrors
print(result_filtered)
return result_filtered