freegeoip is giving keyError

Issue #290 new
Lucifer Morningstar
created an issue

[!] KeyError: 'city'

File "/usr/share/recon-ng/modules/recon/hosts-hosts/freegeoip.py", line 28, in module_run.

the 28 line of freegeoip.py is

region = ', '.join([str(jsonobj[x]).title() for x in ['city', 'region_name'] if jsonobj[x]]) or None