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