From ad77fe20b50a3879ce48b98e03acfd8fc4a5233f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 21 Aug 2024 05:38:24 -0700 Subject: [PATCH] fix: Remove unnecessary f-strings --- aider/coders/base_coder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 1f9a215f4..a498cc1c1 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -826,7 +826,7 @@ class Coder: added_urls = [] for url in urls: if url not in self.rejected_urls: - if self.io.confirm_ask(f"Add URL to the chat?", subject=url): + if self.io.confirm_ask("Add URL to the chat?", subject=url): inp += "\n\n" inp += self.commands.cmd_web(url, paginate=False) added_urls.append(url) @@ -1661,7 +1661,7 @@ class Coder: return True if not Path(full_path).exists(): - if not self.io.confirm_ask(f"Allow creation of new file?", subject=path): + if not self.io.confirm_ask("Allow creation of new file?", subject=path): self.io.tool_error(f"Skipping edits to {path}") return