fixed output of lat/long helper + version bump

This commit is contained in:
Nicholas St. Germain 2019-01-02 23:27:07 -06:00
parent a51afbc82a
commit bf9918d69c
2 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
VERSION = 1.6
BRANCH = 'nightly'
VERSION = 1.7
BRANCH = 'pre-nightly'

View file

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