fix acl bug
This commit is contained in:
parent
19013c6da2
commit
213d85d052
10
hblink.py
10
hblink.py
@ -120,13 +120,9 @@ def hblink_handler(_signal, _frame):
|
||||
def acl_check(_id, _acl):
|
||||
id = int_id(_id)
|
||||
|
||||
print()
|
||||
print(type(entry[0]))
|
||||
print(entry[0])
|
||||
print(type(entry[0]))
|
||||
print(entry[1])
|
||||
print(id)
|
||||
print()
|
||||
# if acl string, build tuple
|
||||
if type(_acl) == str:
|
||||
_acl = acl_build(_acl, 4294967295)
|
||||
|
||||
for entry in _acl[1]:
|
||||
if entry[0] <= id <= entry[1]:
|
||||
|
Loading…
Reference in New Issue
Block a user