Merge pull request #319 from ngocnhan2003/master

FIx issue #317
This commit is contained in:
Anmol Singh
2022-11-21 12:39:14 +05:30
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -568,7 +568,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',