mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2024-12-13 13:06:38 -05:00
small changes
This commit is contained in:
parent
e790118396
commit
d348c72268
@ -776,7 +776,7 @@ class dashboard(WebSocketServerProtocol):
|
||||
# ddbridges = False
|
||||
logging.info('WebSocket connection open.')
|
||||
self.factory.register(self)
|
||||
if URL_PATH == "bridges":
|
||||
if BRIDGES and BRIDGES_INC and BTABLE['SETUP']['BRIDGES']:
|
||||
self.sendMessage(('b' + btemplate.render(_table=BTABLE,themec=THEME_COLOR,dbridges=BTABLE['SETUP']['BRIDGES'],auth=WEB_AUTH)).encode('utf-8'))
|
||||
self.sendMessage(('c' + ctemplate.render(_table=CTABLE,themec=THEME_COLOR,dbridges=BTABLE['SETUP']['BRIDGES'],auth=WEB_AUTH,emaster=EMPTY_MASTERS)).encode('utf-8'))
|
||||
self.sendMessage(('p' + ptemplate.render(_table=CTABLE,themec=THEME_COLOR,dbridges=BTABLE['SETUP']['BRIDGES'],auth=WEB_AUTH)).encode('utf-8'))
|
||||
|
Loading…
Reference in New Issue
Block a user