Fixed bug introduced by pylint suggestion
This commit is contained in:
parent
4da4afa879
commit
7bc3e74309
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue