Skip to content

Commit

Permalink
Update mkdocs_git_committers_plugin_2/plugin.py
Browse files Browse the repository at this point in the history
Co-authored-by: Galen Rice <[email protected]>
  • Loading branch information
onuralpszr and GriceTurrble authored Oct 4, 2024
1 parent 3f71d23 commit 13a4a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_git_committers_plugin_2/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def get_contributors_to_file(self, path, submodule_repo=None):
authors.append({'login': commit['committer']['login'],
'name': commit['committer']['login'],
'url': commit['committer']['html_url'],
'avatar': commit['committer']['avatar_url'] if commit['author']['avatar_url'] is not None else ''
'avatar': commit['committer']['avatar_url'] if commit['committer']['avatar_url'] is not None else ''
})
if commit['commit'] and commit['commit']['message'] and '\nCo-authored-by:' in commit['commit']['message']:
github_coauthors_exist = True
Expand Down

0 comments on commit 13a4a2f

Please sign in to comment.