mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Fix encoding issue with websocket logging
This commit is contained in:
parent
10b0726727
commit
59a6acc088
1 changed files with 3 additions and 3 deletions
|
@ -176,7 +176,7 @@ def run():
|
|||
logger.info("Tautulli WebSocket :: Ready")
|
||||
plexpy.WS_CONNECTED = True
|
||||
except (websocket.WebSocketException, IOError, Exception) as e:
|
||||
logger.error("Tautulli WebSocket :: %s." % e)
|
||||
logger.error("Tautulli WebSocket :: %s.", e)
|
||||
|
||||
if plexpy.WS_CONNECTED:
|
||||
on_connect()
|
||||
|
@ -209,7 +209,7 @@ def run():
|
|||
logger.info("Tautulli WebSocket :: Ready")
|
||||
plexpy.WS_CONNECTED = True
|
||||
except (websocket.WebSocketException, IOError, Exception) as e:
|
||||
logger.error("Tautulli WebSocket :: %s." % e)
|
||||
logger.error("Tautulli WebSocket :: %s.", e)
|
||||
|
||||
else:
|
||||
close()
|
||||
|
@ -219,7 +219,7 @@ def run():
|
|||
if ws_shutdown:
|
||||
break
|
||||
|
||||
logger.error("Tautulli WebSocket :: %s." % e)
|
||||
logger.error("Tautulli WebSocket :: %s.", e)
|
||||
close()
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue