added last octet of ip for logging geoip lookups

This commit is contained in:
Nicholas St. Germain 2018-12-18 22:21:56 -06:00
parent 8978bb380f
commit e58009744e

View file

@ -27,7 +27,8 @@ class GeoIPHandler(object):
def lookup(self, ipaddress):
ip = ipaddress
self.logger.debug('Getting lat/long for Tautulli stream')
self.logger.debug('Getting lat/long for Tautulli stream using ip with last octet ending in %s',
ip.split('.')[-1:])
return self.reader.city(ip)
def update(self):