Update monitor.py

Fixed problem with OPB Filter
This commit is contained in:
Waldek 2020-02-27 10:05:39 +01:00 committed by GitHub
parent 18be7df6bd
commit 415e677212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,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