From 1c1565e9e611887521e820bffc922c0f112abba6 Mon Sep 17 00:00:00 2001 From: Syed Awais Ali Date: Thu, 26 Oct 2023 15:20:46 +0500 Subject: [PATCH] fix: update the var name --- geoipupdate/geoip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geoipupdate/geoip.py b/geoipupdate/geoip.py index 79a6223..c0058aa 100644 --- a/geoipupdate/geoip.py +++ b/geoipupdate/geoip.py @@ -6,7 +6,7 @@ import logging -license_key = os.environ['LICENSE-KEY'] +license_key = os.environ['LICENSE_KEY'] MAXMIND_URL = 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country' \ '&license_key={key}&suffix=tar.gz'.format(key=license_key) MAXMIND_SHA256_URL = 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country' \