add email

This commit is contained in:
Noah Tran
2022-08-14 17:56:19 +07:00
parent c65eede1ba
commit 48847611cd

View File

@@ -565,7 +565,7 @@ if __name__ == '__main__':
rdmd = decode_readme(contents.content) rdmd = decode_readme(contents.content)
new_readme = generate_new_readme(stats=waka_stats, readme=rdmd) new_readme = generate_new_readme(stats=waka_stats, readme=rdmd)
if commit_by_me.lower() in truthy: if commit_by_me.lower() in truthy:
committer = InputGitAuthor(username, email) committer = InputGitAuthor(username or commit_username, email or commit_email)
else: else:
committer = InputGitAuthor( committer = InputGitAuthor(
commit_username or 'readme-bot', commit_username or 'readme-bot',