From 3b9b2bc5244b3d37ed9e5e44072e710a3c42b525 Mon Sep 17 00:00:00 2001 From: Waldek Date: Fri, 19 Jul 2019 08:23:36 +0200 Subject: [PATCH] Update web_tables.py Add switch on/off HomeBrew Peers display stats --- web_tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_tables.py b/web_tables.py index 9fbeca8..52d7496 100644 --- a/web_tables.py +++ b/web_tables.py @@ -227,7 +227,7 @@ def build_hblink_table(_config, _stats_table): add_hb_peer(_hbp_data['PEERS'][_peer], _stats_table['MASTERS'][_hbp]['PEERS'], _peer) # Proccess Peer Systems - elif _hbp_data['MODE'] == 'PEER': + elif _hbp_data['MODE'] == 'PEER' and HOMEBREW_INC: _stats_table['PEERS'][_hbp] = {} _stats_table['PEERS'][_hbp]['CALLSIGN'] = _hbp_data['CALLSIGN'] _stats_table['PEERS'][_hbp]['LOCATION'] = _hbp_data['LOCATION']