mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 00:32:58 -07:00
Fix typo (Closes Tautulli/Tautulli-Issues#35)
This commit is contained in:
parent
5108e1bb09
commit
683a782723
1 changed files with 2 additions and 2 deletions
|
@ -3532,10 +3532,10 @@ class WebInterface(object):
|
||||||
try:
|
try:
|
||||||
test_ws = websocket.create_connection(ws_url, header=header)
|
test_ws = websocket.create_connection(ws_url, header=header)
|
||||||
test_ws.close()
|
test_ws.close()
|
||||||
logger.debug("Websocket test connection successful.")
|
logger.debug("Websocket connection test successful.")
|
||||||
result['ws'] = True
|
result['ws'] = True
|
||||||
except (websocket.WebSocketException, IOError, Exception) as e:
|
except (websocket.WebSocketException, IOError, Exception) as e:
|
||||||
logger.error("Websocket test connection failed: %s" % e)
|
logger.error("Websocket connection test failed: %s" % e)
|
||||||
result['ws'] = False
|
result['ws'] = False
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue