diff --git a/Src/network-broker/network-broker b/Src/network-broker/network-broker index 8d675fd..ade1760 100755 --- a/Src/network-broker/network-broker +++ b/Src/network-broker/network-broker @@ -180,7 +180,7 @@ class Peer: # Lookup which country this guy is from try: - self.country = srv.ip2c.lookup(self.public_ip)[1] + self.country = srv.ip2c.lookup(self.public_ip) except ValueError, e: self.country = None if self.country == None: