Add files via upload

Fixed issue where ACL list and action were both being imported as ACTION.
This commit is contained in:
M0NWI 2017-06-13 13:46:17 +01:00 committed by GitHub
parent 36a7092bfb
commit 018ecfebc7
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ def build_acl(_sub_acl):
acl_file.ACL[i] = hex_str_3(acl_file.ACL[i])
logger.info('ACL file found and ACL entries imported')
ACL_ACTION = acl_file.ACL_ACTION
ACL = acl_file.ACL_ACTION
ACL = acl_file.ACL
except ImportError:
logger.info('ACL file not found or invalid - all subscriber IDs are valid')
ACL_ACTION = 'NONE'