mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-25 17:28:47 -05:00
Update web_tables.py
Add missing variables CONFIG_INC and BRIDGES_INC
This commit is contained in:
parent
358a751c58
commit
b878515f65
@ -361,10 +361,10 @@ def build_stats():
|
|||||||
global build_time
|
global build_time
|
||||||
now = time()
|
now = time()
|
||||||
if True: #now > build_time + 1:
|
if True: #now > build_time + 1:
|
||||||
if CONFIG:
|
if CONFIG and CONFIG_INC:
|
||||||
table = 'd' + dtemplate.render(_table=CTABLE)
|
table = 'd' + dtemplate.render(_table=CTABLE)
|
||||||
dashboard_server.broadcast(table)
|
dashboard_server.broadcast(table)
|
||||||
if BRIDGES:
|
if BRIDGES and BRIDGES_INC:
|
||||||
table = 'b' + btemplate.render(_table=BTABLE['BRIDGES'])
|
table = 'b' + btemplate.render(_table=BTABLE['BRIDGES'])
|
||||||
dashboard_server.broadcast(table)
|
dashboard_server.broadcast(table)
|
||||||
build_time = now
|
build_time = now
|
||||||
|
Loading…
Reference in New Issue
Block a user