mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix log error
This commit is contained in:
parent
01a82eee2d
commit
47175fb216
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ class LogHandler(logging.StreamHandler):
|
|||
if server.get('AccessToken'):
|
||||
self.sensitive['Token'].append(server['AccessToken'])
|
||||
|
||||
self.sensitive['Server'].append(server['LocalAddress'].split('://')[1])
|
||||
if server.get('LocalAddress'):
|
||||
self.sensitive['Server'].append(server['LocalAddress'].split('://')[1])
|
||||
|
||||
if server.get('RemoteAddress'):
|
||||
self.sensitive['Server'].append(server['RemoteAddress'].split('://')[1])
|
||||
|
|
Loading…
Reference in a new issue