wiglenet: Shorten cache hit debug log message
This commit is contained in:
@@ -489,9 +489,9 @@ class WiglenetResolver(object):
|
|||||||
if netd is None:
|
if netd is None:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
restype = ("'Network not found'"
|
restype = ("'Not found'"
|
||||||
if netd.get('trilateratedLatitude') is None else 'location')
|
if netd.get('trilateratedLatitude') is None else 'Location')
|
||||||
log.debug(f'Got cached {restype} result for {netid}')
|
log.debug(f'{restype} cache hit, {netid}')
|
||||||
if netd.get('trilateratedLatitude') is None:
|
if netd.get('trilateratedLatitude') is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user