Fix logging
This commit is contained in:
parent
7c92c01047
commit
b729cf5423
1 changed files with 6 additions and 1 deletions
|
@ -231,7 +231,12 @@ def discover_pms(token=None):
|
||||||
pms['ip'],
|
pms['ip'],
|
||||||
pms['port'])
|
pms['port'])
|
||||||
plex_pms_list.append(pms)
|
plex_pms_list.append(pms)
|
||||||
LOG.debug('Found the following PMS in total: %s', plex_pms_list)
|
|
||||||
|
log_list = deepcopy(plex_pms_list)
|
||||||
|
for pms in log_list:
|
||||||
|
if pms.get('token') is not None:
|
||||||
|
pms['token'] = '%s...' % pms['token'][:5]
|
||||||
|
LOG.debug('Found the following PMS in total: %s', log_list)
|
||||||
return plex_pms_list
|
return plex_pms_list
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue