Skip the country code

This commit is contained in:
simon.kagstrom 2009-03-29 13:02:25 +00:00
parent 794a8abf03
commit 731faf709c

View File

@ -180,7 +180,7 @@ class Peer:
# Lookup which country this guy is from
try:
self.country = srv.ip2c.lookup( addr[0] )
self.country = srv.ip2c.lookup( addr[0] )[1]
except ValueError, e:
self.country = None
if self.country == None: