From b878515f6502c7b4e619b8ba9c70ec180ce2b6b3 Mon Sep 17 00:00:00 2001 From: Waldek Date: Tue, 18 Jun 2019 12:53:30 +0200 Subject: [PATCH] Update web_tables.py Add missing variables CONFIG_INC and BRIDGES_INC --- web_tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_tables.py b/web_tables.py index 6728963..5891bf6 100644 --- a/web_tables.py +++ b/web_tables.py @@ -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