mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-06 01:40:19 +00:00
Potential fix for code scanning alert no. 43: Unnecessary lambda
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
3335604cd3
commit
aa586e0e2c
1 file changed
+1
-1
+1
-1
@@ -69,7 +69,7 @@ def render_templates(src_dir, dst_dir, context):
|
||||
keep_trailing_newline=True,
|
||||
autoescape=select_autoescape(["html", "xml"]),
|
||||
)
|
||||
env.filters["bool"] = lambda x: bool(x)
|
||||
env.filters["bool"] = bool
|
||||
env.filters["get_entity_name"] = get_entity_name
|
||||
|
||||
for root, _, files in os.walk(src_dir):
|
||||
|
||||
Reference in new issue
Block a user