mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-12-23 01:55:37 -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
|
||||
now = time()
|
||||
if True: #now > build_time + 1:
|
||||
if CONFIG:
|
||||
if CONFIG and CONFIG_INC:
|
||||
table = 'd' + dtemplate.render(_table=CTABLE)
|
||||
dashboard_server.broadcast(table)
|
||||
if BRIDGES:
|
||||
if BRIDGES and BRIDGES_INC:
|
||||
table = 'b' + btemplate.render(_table=BTABLE['BRIDGES'])
|
||||
dashboard_server.broadcast(table)
|
||||
build_time = now
|
||||
|
Loading…
Reference in New Issue
Block a user