From c1681dc48b55d3df226711287bc4dd70001a6cf1 Mon Sep 17 00:00:00 2001 From: Sikorsky78 <72739379+Sikorsky78@users.noreply.github.com> Date: Mon, 12 Oct 2020 12:47:15 +0200 Subject: [PATCH] Update utils.py Fixed broken system_paths for Windows --- parsedmarc/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/parsedmarc/utils.py b/parsedmarc/utils.py index de42e7c..62e9d67 100644 --- a/parsedmarc/utils.py +++ b/parsedmarc/utils.py @@ -278,8 +278,7 @@ def get_ip_address_country(ip_address): "/usr/share/GeoIP/GeoLite2-Country.mmdb", "/var/lib/GeoIP/GeoLite2-Country.mmdb", "/var/local/lib/GeoIP/GeoLite2-Country.mmdb", - "%SystemDrive%\\ProgramData\\" - "MaxMind\\GeoIPUpdate\\GeoIP\\GeoLite2-Country.mmdb" + "%SystemDrive%\\ProgramData\\MaxMind\\GeoIPUpdate\\GeoIP\\GeoLite2-Country.mmdb", "C:\\GeoIP\\GeoLite2-Country.mmdb" ]