Fix close Websocket (#434)

This commit is contained in:
Alfredo Monclus
2022-01-13 13:04:02 -03:00
committed by GitHub
parent 2982eb9645
commit d24f3d6f5c

View File

@@ -154,7 +154,7 @@ class KlippyWebsocket(threading.Thread):
if self.closing is True: if self.closing is True:
logging.debug("Closing websocket") logging.debug("Closing websocket")
self.ws.stop() self.ws.close()
return return
logging.info("Moonraker Websocket Closed") logging.info("Moonraker Websocket Closed")