Skip to content

Commit 13a4a2f

Browse files
Update mkdocs_git_committers_plugin_2/plugin.py
Co-authored-by: Galen Rice <[email protected]>
1 parent 3f71d23 commit 13a4a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdocs_git_committers_plugin_2/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def get_contributors_to_file(self, path, submodule_repo=None):
124124
authors.append({'login': commit['committer']['login'],
125125
'name': commit['committer']['login'],
126126
'url': commit['committer']['html_url'],
127-
'avatar': commit['committer']['avatar_url'] if commit['author']['avatar_url'] is not None else ''
127+
'avatar': commit['committer']['avatar_url'] if commit['committer']['avatar_url'] is not None else ''
128128
})
129129
if commit['commit'] and commit['commit']['message'] and '\nCo-authored-by:' in commit['commit']['message']:
130130
github_coauthors_exist = True

0 commit comments

Comments
 (0)