Update web_tables.py

Update OpenBridge tables bgcolor
This commit is contained in:
Waldek 2019-06-09 11:23:26 +02:00 committed by GitHub
parent 416a5a9643
commit 90531ea486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -431,6 +431,8 @@ def rts_update(p):
CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = YELLOW
CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK
if action == 'END':
CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = WHITE
CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK
if streamId in CTABLE['OPENBRIDGES'][system]['STREAMS']:
del CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId]