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:
Dan Guido 2025-08-03 04:11:24 -04:00
parent 7d20893ee6
commit 511c4feaf0

View file

@ -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}"