This commit is contained in:
Paul Gauthier 2024-09-04 10:27:18 -07:00
parent e7253d819e
commit 18bf3a9f36

View file

@ -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: