You've already forked wakapi-readme-stats
InputGitAuthor not an attrribute
I think this is mean to be a separate method when imported like this. At least, that's how it is in the example project I found, so here's to hoping.
This commit is contained in:
2
main.py
2
main.py
@@ -487,7 +487,7 @@ if __name__ == '__main__':
|
||||
waka_stats = get_stats(g)
|
||||
rdmd = decode_readme(contents.content)
|
||||
new_readme = generate_new_readme(stats=waka_stats, readme=rdmd)
|
||||
committer = g.InputGitAuthor('readme-bot', 'readme-bot@example.com')
|
||||
committer = InputGitAuthor('readme-bot', 'readme-bot@example.com')
|
||||
if new_readme != rdmd:
|
||||
repo.update_file(path=contents.path, message='Updated with Dev Metrics',
|
||||
content=new_readme, sha=contents.sha, branch='master',
|
||||
|
||||
Reference in New Issue
Block a user