From 7bc3e7430985a59d9bd49cfd7ce0afe5611f926f Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Fri, 18 Jul 2025 15:16:27 -0700 Subject: [PATCH] Fixed bug introduced by pylint suggestion --- adafruit_shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adafruit_shell.py b/adafruit_shell.py index f21c2a3..68f97e7 100644 --- a/adafruit_shell.py +++ b/adafruit_shell.py @@ -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