error method

pull/197/head
Sebdraven 2018-06-20 14:50:48 +02:00
parent 3a4294391f
commit d1e72676f1
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ def handle_ip(api, ip, misperrors):
r, status_ok = expand_syscan(api, ip, misperrors) r, status_ok = expand_syscan(api, ip, misperrors)
if status_ok: if status_ok:
result_filtered['results'].append(r) result_filtered['results'].extend(r)
else: else:
misperrors['error'] = "Error syscan result" misperrors['error'] = "Error syscan result"