def get_geo_from_ip(ip_addr):
	try:
		from geoip import geolite2
		return geolite2.lookup(ip_addr)
	except __HOLE__:
		return
	except ValueError:
		return
dataset/ETHPy150Open frappe/frappe/frappe/sessions.py/get_geo_from_ip