add missing on_close parameters

This commit is contained in:
Morgan McMillian 2021-08-13 21:22:52 -07:00
parent 90a831650a
commit 4c38c8ff0c

View file

@ -331,9 +331,10 @@ def on_error(ws, error):
logger.error(error)
_error.set()
def on_close(ws):
def on_close(ws, status_code, msg):
# send(config['CHANNEL'], "...shutdown initiated...")
logger.debug("on_close: ### CLOSED ###")
logger.debug(status_code, msg)
_connected.clear()
def on_open(ws):