Fix websocket sending on error

This commit is contained in:
shortcutme 2018-04-28 21:59:27 +02:00
parent bf346a6ed1
commit 7cdb1caaf2
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -214,6 +214,7 @@ class UiWebsocket(object):
self.state["sending"] = False
except Exception, err:
self.log.debug("Websocket send error: %s" % Debug.formatException(err))
self.state["sending"] = False
def getPermissions(self, req_id):
permissions = self.site.settings["permissions"]