change method to concat methods

pull/197/head
Sebdraven 2018-06-20 18:05:28 +02:00
parent e712a31760
commit 1d1fd36569
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def handle_ip(api, ip, misperrors):
r, status_ok = expand_datascan(api, misperrors, ip=ip) r, status_ok = expand_datascan(api, misperrors, ip=ip)
if status_ok: if status_ok:
result_filtered['results'].append(r) result_filtered['results'].extend(r)
else: else:
misperrors['error'] = 'Error datascan result %s' % status_ok misperrors['error'] = 'Error datascan result %s' % status_ok
return misperrors return misperrors