mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-05 06:25:10 +00:00
some edits for code quallity
This commit is contained in:
parent
1c56509e25
commit
3c00628b2d
4 changed files with 6 additions and 6 deletions
|
|
@ -32,9 +32,9 @@ def isAllowed(poc_id):
|
|||
@return: Checks both allow/deny-rule and filter-range (suitable for signal-RIC)
|
||||
@exception: none
|
||||
"""
|
||||
|
||||
|
||||
allowed = 0
|
||||
|
||||
|
||||
# 1.) If allowed RICs is set, only they will path,
|
||||
# If RIC is the right one return True, else False
|
||||
if globalVars.config.get("POC", "allow_ric"):
|
||||
|
|
@ -62,7 +62,7 @@ def isAllowed(poc_id):
|
|||
return True
|
||||
else:
|
||||
allowed = 0
|
||||
|
||||
|
||||
if allowed == 0:
|
||||
return False
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue