Skip to content

Commit

Permalink
Fix usage_filter.py cilogon_use_client config handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnavarro committed Jan 21, 2022
1 parent 203e985 commit 673c551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usage-process/bin/usage_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def Setup(self):
net = ip_to_u32(netstr) & mask
self.CLIENT_NETS[cidr] = (mask, net)

self.CILOGON_USE_CLIENT = self.config.get('cilogon_use_client')
self.CILOGON_USE_CLIENT = self.config.get('cilogon_use_client').lower() == 'true'

REGEX_FILTER_FILE = self.config.get('regex_filter_file')
if REGEX_FILTER_FILE:
Expand Down

0 comments on commit 673c551

Please sign in to comment.