Update utils.py

Fixed broken system_paths for Windows
This commit is contained in:
Sikorsky78
2020-10-12 12:47:15 +02:00
committed by GitHub
parent 82b1a7e292
commit c1681dc48b
+1 -2
View File
@@ -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"
]