Remove browser condition for filter users Geo IP

This commit is contained in:
Gregory Soutade 2022-11-10 20:04:56 +01:00
parent 2aad389e2b
commit b93c4bf470

View File

@ -83,7 +83,6 @@ class IWLADisplayFilterUsers(IPlugin):
ip_title = ip ip_title = ip
if 'dns_name_replaced' in hits[ip].keys(): if 'dns_name_replaced' in hits[ip].keys():
ip_title = '%s [%s]' % (hits[ip]['remote_addr'], ip) ip_title = '%s [%s]' % (hits[ip]['remote_addr'], ip)
if filtered_user.get('operating_system', 'android') not in ('android', 'ios_iphone'):
location = filtered_user.get('geo_location', {}) location = filtered_user.get('geo_location', {})
if location: if location:
location_str = '(%s/%s)' % (location.get('city', unknown), location.get('countryname', unknown)) location_str = '(%s/%s)' % (location.get('city', unknown), location.get('countryname', unknown))