-
assigned issue to
geoiplookup.py fails for some data
Issue #80
resolved
executing ./geoiplookup.py 10.152.163.66
with that specific IP causes:
Traceback (most recent call last):
File "./geoiplookup.py", line 50, in <module>
print u"OK;{status};{query};{countryCode};{country};{regionName};{city};{zip};{lat};{lon};{timezone}".format(**data).encode("utf-8")
KeyError: u'countryCode'
Comments (2)
-
reporter -
- changed status to resolved
Print error if json says lookup failed, fixes
#80→ <<cset 1397dc2bb903>>
- Log in to comment