Fix websocket not connecting after setup wizard

This commit is contained in:
JonnyWong16 2018-09-29 15:32:13 -07:00
parent 4c9ddbd8b7
commit dbc53ca710

View file

@ -2990,7 +2990,8 @@ class WebInterface(object):
# Get new server URLs for SSL communications and get new server friendly name # Get new server URLs for SSL communications and get new server friendly name
if server_changed: if server_changed:
plextv.get_server_resources() plextv.get_server_resources()
web_socket.reconnect() if plexpy.WS_CONNECTED:
web_socket.reconnect()
# If first run, start websocket # If first run, start websocket
if first_run: if first_run: