mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 05:24:21 +01:00
Skip the country code
This commit is contained in:
parent
794a8abf03
commit
731faf709c
@ -180,7 +180,7 @@ class Peer:
|
|||||||
|
|
||||||
# Lookup which country this guy is from
|
# Lookup which country this guy is from
|
||||||
try:
|
try:
|
||||||
self.country = srv.ip2c.lookup( addr[0] )
|
self.country = srv.ip2c.lookup( addr[0] )[1]
|
||||||
except ValueError, e:
|
except ValueError, e:
|
||||||
self.country = None
|
self.country = None
|
||||||
if self.country == None:
|
if self.country == None:
|
||||||
|
Loading…
Reference in New Issue
Block a user