Update monitor.py

This commit is contained in:
Waldek
2020-07-01 07:24:52 +02:00
committed by GitHub
parent da3e736cab
commit 5971fb0327
+4 -1
View File
@@ -81,7 +81,7 @@ OPCODE = {
# Global Variables:
CONFIG = {}
CTABLE = {'MASTERS': {}, 'PEERS': {}, 'OPENBRIDGES': {}}
CTABLE = {'MASTERS': {}, 'PEERS': {}, 'OPENBRIDGES': {}, 'SETUP': {}}
BRIDGES = {}
BTABLE = {}
BTABLE['BRIDGES'] = {}
@@ -98,6 +98,9 @@ WHITE = 'ffffff'
WHITE2 = 'f9f9f9f9'
YELLOW = 'fffccd'
# Define setup setings
CTABLE['SETUP']['LASTHEARD'] = LASTHEARD_INC
# OPB Filter for lastheard
def get_opbf():
if len(OPB_FILTER) !=0: