mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
Update poc.py
Including upper and lower boundary
This commit is contained in:
parent
2ded273271
commit
ae1c27b45f
|
|
@ -52,7 +52,7 @@ def isAllowed(poc_id):
|
|||
allowed = 0
|
||||
|
||||
# 3.) Check Range, return true if in between
|
||||
if globalVars.config.getint("POC", "filter_range_start") < int(poc_id) < globalVars.config.getint("POC", "filter_range_end"):
|
||||
if globalVars.config.getint("POC", "filter_range_start") <= int(poc_id) <= globalVars.config.getint("POC", "filter_range_end"):
|
||||
logging.info("RIC %s in between filter range", poc_id)
|
||||
return True
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue