Fixed bug introduced by pylint suggestion

This commit is contained in:
Melissa LeBlanc-Williams 2025-07-18 15:16:27 -07:00
parent 4da4afa879
commit 7bc3e74309

View file

@ -194,8 +194,8 @@ class Shell:
template_content = template_file.read()
# Render the template with the provided context
for key in kwargs.items():
template_content = template_content.replace(f"{{{key}}}", str(kwargs[key]))
for key, value in kwargs.items():
template_content = template_content.replace(f"{{{key}}}", str(value))
return template_content