mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-10 21:55:11 +01:00
Oops, correct ip lookup
This commit is contained in:
parent
a3c862b08a
commit
67b3abc248
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user