index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-27 22:27:12 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-27 22:27:12 +0000 |
commit | bbcfd7a73da772dfeed3dd0d7a1265f4d6e5ac1d (patch) | |
tree | c72131c78edcfc64506aea385b79de1d1d4df326 /archinstall.py | |
parent | 9d984957feb3810461312f5cdeaf4b235c180ea9 (diff) |
-rw-r--r-- | archinstall.py | 2 |
diff --git a/archinstall.py b/archinstall.py index 33c39827..50e59d04 100644 --- a/archinstall.py +++ b/archinstall.py @@ -765,7 +765,7 @@ def guess_country(ip, *positionals, **kwargs): return result gi = pygeoip.GeoIP(GEOIP_DB) - result = gi.country_name_by_addr(ip) + result = gi.country_code_by_addr(ip) else: log(f'Missing GeoIP database: {GEOIP_DB}', origin='guess_country', level=LOG_LEVELS.ERROR) return result |