Update web_tables.py

Add missing variables CONFIG_INC and BRIDGES_INC
This commit is contained in:
Waldek 2019-06-18 12:53:30 +02:00 committed by GitHub
parent 358a751c58
commit b878515f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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