diff --git a/CHANGELOG.md b/CHANGELOG.md index 6384d37f..92fc4eab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +6.1.7 +----- + +- Fix GeoIP lookups + 6.1.6 ----- diff --git a/parsedmarc/__init__.py b/parsedmarc/__init__.py index 21018fb0..c495b2de 100644 --- a/parsedmarc/__init__.py +++ b/parsedmarc/__init__.py @@ -38,7 +38,7 @@ from parsedmarc.utils import is_outlook_msg, convert_outlook_msg from parsedmarc.utils import timestamp_to_human, human_timestamp_to_datetime from parsedmarc.utils import parse_email -__version__ = "6.1.6" +__version__ = "6.1.7" logging.basicConfig( format='%(levelname)8s:%(filename)s:%(lineno)d:' diff --git a/parsedmarc/utils.py b/parsedmarc/utils.py index 0648cf15..78cb7eaa 100644 --- a/parsedmarc/utils.py +++ b/parsedmarc/utils.py @@ -287,7 +287,8 @@ def get_ip_address_country(ip_address): e.__str__())) system_paths = ["/usr/local/share/GeoIP/GeoLite2-Country.mmdb", - "/usr/share/GeoIP/GeoLite2-Country.mmdb" + "/usr/share/GeoIP/GeoLite2-Country.mmdb", + "/var/lib/GeoIP/GeoLite2-Country.mmdb" "C:\\GeoIP\\GeoLite2-Country.mmdb"] db_path = None diff --git a/setup.py b/setup.py index bd4aeaa8..75fee9cd 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup from codecs import open from os import path -__version__ = "6.1.6" +__version__ = "6.1.7" description = "A Python package and CLI for parsing aggregate and " \ "forensic DMARC reports"