From 18bf3a9f369361194cc178d8a381caa82deb346c Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 4 Sep 2024 10:27:18 -0700 Subject: [PATCH] fixes #1348 --- aider/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/main.py b/aider/main.py index 163817b84..38fa32ea1 100644 --- a/aider/main.py +++ b/aider/main.py @@ -89,7 +89,7 @@ def setup_git(git_root, io): pass try: user_email = config.get_value("user", "email", None) - except configparser.NoSectionError: + except (configparser.NoSectionError, configparser.NoOptionError): pass if user_name and user_email: