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):
|
def acl_check(_id, _acl):
|
||||||
id = int_id(_id)
|
id = int_id(_id)
|
||||||
|
|
||||||
print()
|
# if acl string, build tuple
|
||||||
print(type(entry[0]))
|
if type(_acl) == str:
|
||||||
print(entry[0])
|
_acl = acl_build(_acl, 4294967295)
|
||||||
print(type(entry[0]))
|
|
||||||
print(entry[1])
|
|
||||||
print(id)
|
|
||||||
print()
|
|
||||||
|
|
||||||
for entry in _acl[1]:
|
for entry in _acl[1]:
|
||||||
if entry[0] <= id <= entry[1]:
|
if entry[0] <= id <= entry[1]:
|
||||||
|
Loading…
Reference in New Issue
Block a user