docker fixes
This commit is contained in:
parent
213adcaaaa
commit
7ab789f80a
8 changed files with 37 additions and 38 deletions
|
|
@ -22,7 +22,7 @@ def get_location(ip):
|
|||
else:
|
||||
try:
|
||||
location = g.city(ip)
|
||||
except GeoIP2Exception:
|
||||
except:
|
||||
try:
|
||||
location = g.country(s.ip)
|
||||
except:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue