mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-10-05 20:10:31 +00:00
6.1.7 - Fix GeoIP lookups
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
6.1.7
|
||||
-----
|
||||
|
||||
- Fix GeoIP lookups
|
||||
|
||||
6.1.6
|
||||
-----
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user