diff --git a/aider/io.py b/aider/io.py index 852cfaa5e..6405c5666 100644 --- a/aider/io.py +++ b/aider/io.py @@ -312,7 +312,7 @@ class InputOutput: return FileHistory(self.input_history_file).append_string(inp) # Also add to the in-memory history if it exists - if hasattr(self, 'session') and hasattr(self.session, 'history'): + if hasattr(self, "session") and hasattr(self.session, "history"): self.session.history.append_string(inp) def get_input_history(self):