Fix close Websocket ()

This commit is contained in:
Alfredo Monclus 2022-01-13 13:04:02 -03:00 committed by GitHub
parent 2982eb9645
commit d24f3d6f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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