mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-07-03 23:44:17 +00:00
6.1.8 - Actually fix GeoIP lookups
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
6.1.8
|
||||
-----
|
||||
|
||||
- Actually fix GeoIP lookups
|
||||
|
||||
6.1.7
|
||||
-----
|
||||
|
||||
|
||||
@@ -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.7"
|
||||
__version__ = "6.1.8"
|
||||
|
||||
logging.basicConfig(
|
||||
format='%(levelname)8s:%(filename)s:%(lineno)d:'
|
||||
|
||||
+1
-1
@@ -288,7 +288,7 @@ def get_ip_address_country(ip_address):
|
||||
|
||||
system_paths = ["/usr/local/share/GeoIP/GeoLite2-Country.mmdb",
|
||||
"/usr/share/GeoIP/GeoLite2-Country.mmdb",
|
||||
"/var/lib/GeoIP/GeoLite2-Country.mmdb"
|
||||
"/var/lib/GeoIP/GeoLite2-Country.mmdb",
|
||||
"C:\\GeoIP\\GeoLite2-Country.mmdb"]
|
||||
db_path = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user