chg: Adapt call to ipasn mass_query to the new format

pull/12/head
Raphaël Vinot 2019-01-10 12:03:22 +01:00
parent 94b79ce19b
commit 9807fbe694
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class DatabaseInsert():
if not data: if not data:
self.logger.warning(f'No data for UUID {uuid}. This should not happen, but lets move on.') self.logger.warning(f'No data for UUID {uuid}. This should not happen, but lets move on.')
continue continue
routing_info = responses['responses'][i][0] # our queries are on one single date, not a range routing_info = responses['responses'][i]['response'] # our queries are on one single date, not a range
# Data gathered from IPASN History: # Data gathered from IPASN History:
# * IP Block of the IP # * IP Block of the IP
# * AS number # * AS number