From 213d85d0525c52735628b37221051d91a925828b Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Thu, 7 Oct 2021 12:37:05 -0700 Subject: [PATCH] fix acl bug --- hblink.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/hblink.py b/hblink.py index 89d49b9..db0521d 100755 --- a/hblink.py +++ b/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]: