Fixed import error saying aiofiles instead of aiohttp

This commit is contained in:
Dionysus 2024-03-12 18:23:52 -04:00
parent b1fa34f3aa
commit 1864f08e4b
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -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 = {