From 789c8a25f3c5d69830c0f611b6b6c8ee73f07b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Wed, 4 May 2016 12:33:21 +0200 Subject: [PATCH] Fix IPASN module --- modules/expansion/ipasn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/expansion/ipasn.py b/modules/expansion/ipasn.py index 0a0dc2b..53c2e8b 100755 --- a/modules/expansion/ipasn.py +++ b/modules/expansion/ipasn.py @@ -33,7 +33,7 @@ def handler(q=False): ipasn = IPASN(host=request['config'].get('host'), port=request['config'].get('port'), db=request['config'].get('db')) - values = ' \n '.join(list(ipasn.aggregate_history(toquery))) + values = ' \n '.join([' '.join(r)for r in ipasn.aggregate_history(toquery)]) if not values: misperrors['error'] = 'Unable to find the history of this IP' return misperrors