From 48847611cd7813d3c7c39532ccf0a564f2a0f435 Mon Sep 17 00:00:00 2001 From: Noah Tran Date: Sun, 14 Aug 2022 17:56:19 +0700 Subject: [PATCH] add email --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a81e572..df67c6f 100644 --- a/main.py +++ b/main.py @@ -565,7 +565,7 @@ if __name__ == '__main__': rdmd = decode_readme(contents.content) new_readme = generate_new_readme(stats=waka_stats, readme=rdmd) if commit_by_me.lower() in truthy: - committer = InputGitAuthor(username, email) + committer = InputGitAuthor(username or commit_username, email or commit_email) else: committer = InputGitAuthor( commit_username or 'readme-bot',