Update monitor.py

fixed problem with OPB Filter function
This commit is contained in:
Waldek 2020-02-27 10:39:20 +01:00 committed by GitHub
parent 846ae5291d
commit 465f41ac77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ YELLOW = 'fffccd'
# OPB Filter for lastheard # OPB Filter for lastheard
def get_opbf(): def get_opbf():
if len(OPB_FILTER) !=0: if len(OPB_FILTER) !=0:
mylist = OPBFILTER.replace(' ','').split(',') mylist = OPB_FILTER.replace(' ','').split(',')
else: else:
mylist = [] mylist = []
return mylist return mylist