From 284441759615f11202c4b79803b12bdb6ab5bcd7 Mon Sep 17 00:00:00 2001 From: Waldek Date: Fri, 10 Jul 2020 08:45:35 +0200 Subject: [PATCH] Update monitor.py --- monitor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index f2bf6e2..6a91198 100644 --- a/monitor.py +++ b/monitor.py @@ -870,7 +870,10 @@ if __name__ == '__main__': else: bridges_html = bridges_html.replace('<<>>', '') index_html = index_html.replace('<<>>', '') - + if BTABLE['SETUP']['BRIDGES']: + index_html = index_html.replace('<<>>', ' ') + else: + index_html = index_html.replace('<<>>', '') # Start update loop update_stats = task.LoopingCall(build_stats) update_stats.start(FREQUENCY)