From 1486d7cda498add7b9f92e94726397f172c1bd76 Mon Sep 17 00:00:00 2001 From: Waldek Date: Sun, 9 Jun 2019 13:08:02 +0200 Subject: [PATCH] Update web_tables.py --- web_tables.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web_tables.py b/web_tables.py index d0c11a9..62a8b27 100644 --- a/web_tables.py +++ b/web_tables.py @@ -422,12 +422,14 @@ def rts_update(p): CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['DEST'] = '' if system in CTABLE['OPENBRIDGES']: - if not CTABLE['OPENBRIDGES'][system]['STREAMS']: CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = WHITE CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK + else: + CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = YELLOW + CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK if action == 'START': - CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (trx, alias_call(sourceSub, subscriber_ids),'{}'.format(alias_tgid(destination,talkgroup_ids))) + CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (trx, alias_call(sourceSub, subscriber_ids),'TG{}'.format(destination)) CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = YELLOW CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK if action == 'END':