mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix logging
This commit is contained in:
parent
89ff748b9d
commit
bb1a180a1b
1 changed files with 2 additions and 2 deletions
|
@ -51,10 +51,10 @@ class LogHandler(logging.StreamHandler):
|
|||
|
||||
if self.mask_info:
|
||||
for server in self.sensitive['Server']:
|
||||
string = string.replace(server or "{server}", "{emby-server}")
|
||||
string = string.replace(server.encode('utf-8') or "{server}", "{emby-server}")
|
||||
|
||||
for token in self.sensitive['Token']:
|
||||
string = string.replace(token or "{token}", "{emby-token}")
|
||||
string = string.replace(token.encode('utf-8') or "{token}", "{emby-token}")
|
||||
|
||||
try:
|
||||
xbmc.log(string, level=xbmc.LOGNOTICE)
|
||||
|
|
Loading…
Reference in a new issue