6.1.7 - Fix GeoIP lookups

This commit is contained in:
Sean Whalen
2019-02-16 15:31:27 -05:00
parent d29ae43dd7
commit 7681f30295
4 changed files with 9 additions and 3 deletions
+5
View File
@@ -1,3 +1,8 @@
6.1.7
-----
- Fix GeoIP lookups
6.1.6
-----
+1 -1
View File
@@ -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:'
+2 -1
View File
@@ -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
+1 -1
View File
@@ -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"