mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-24 22:10:19 +00:00
Fix log error
This commit is contained in:
parent
01a82eee2d
commit
47175fb216
@ -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 New Issue
Block a user