mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-05 19:43:22 +02:00
fix: Remove invalid 'bool' filter from Jinja2 template
The privacy-monitor.sh.j2 template was using '| bool' which is not a valid Jinja2 filter. The 'bool' is a built-in Python function, not a Jinja2 filter. Fixed by removing the '| bool' filter and directly outputting the boolean variables as they will be rendered correctly by Jinja2. This resolves the template syntax error that was causing CI tests to fail: "No filter named 'bool'" error in privacy monitoring script template. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
7d20893ee6
commit
511c4feaf0
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ fi
|
|||
echo -e "\n${YELLOW}Privacy Configuration Summary:${NC}"
|
||||
echo " Log retention: {{ privacy_log_rotation.max_age }} days"
|
||||
echo " Max log size: {{ privacy_log_rotation.max_size }}MB"
|
||||
echo " VPN log filtering: {{ privacy_log_filtering.exclude_vpn_logs | bool }}"
|
||||
echo -e " History clearing: {{ privacy_history_clearing.clear_bash_history | bool }}"
|
||||
echo " VPN log filtering: {{ privacy_log_filtering.exclude_vpn_logs }}"
|
||||
echo -e " History clearing: {{ privacy_history_clearing.clear_bash_history }}"
|
||||
|
||||
echo -e "\n${GREEN}Privacy monitoring complete${NC}"
|
Loading…
Add table
Reference in a new issue