Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

fix: update the var name #203

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion geoipupdate/geoip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down
2 changes: 1 addition & 1 deletion geoipupdate/test/test_geoip_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from unittest.mock import patch, MagicMock, mock_open
from testfixtures import TempDirectory

os.environ['LICENSE-KEY'] = '1234556'
os.environ['LICENSE_KEY'] = '1234556'
from ..geoip import match_sha256, write, download_file # noqa: E402


Expand Down
Loading