added last octet of ip for logging geoip lookups
This commit is contained in:
parent
8978bb380f
commit
e58009744e
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ class GeoIPHandler(object):
|
||||||
|
|
||||||
def lookup(self, ipaddress):
|
def lookup(self, ipaddress):
|
||||||
ip = 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)
|
return self.reader.city(ip)
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
|
|
Loading…
Reference in a new issue