From 1864f08e4b55a8c9575f416413ed5c3043a2a20d Mon Sep 17 00:00:00 2001 From: acidvegas Date: Tue, 12 Mar 2024 18:23:52 -0400 Subject: [PATCH] Fixed import error saying aiofiles instead of aiohttp --- ingestors/ingest_rir_delegations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ingestors/ingest_rir_delegations.py b/ingestors/ingest_rir_delegations.py index c9f6bfb..33807a8 100644 --- a/ingestors/ingest_rir_delegations.py +++ b/ingestors/ingest_rir_delegations.py @@ -10,11 +10,11 @@ import time try: import aiohttp except ImportError: - raise ImportError('Missing required \'aiofiles\' library. (pip install aiofiles)') + raise ImportError('Missing required \'aiohttp\' library. (pip install aiohttp)') # Set a default elasticsearch index if one is not provided -default_index = 'rir-delegations-' + time.strftime('%Y-%m-%d') +default_index = 'rir-delegation-' + time.strftime('%Y-%m-%d') # Delegation data sources delegation_db = {